1. How to fill entity's field with separate queue in Hibernate? stackoverflow.comI have an entity, say
I want to fill usersInCategory field with some aggregating SQL query (select count(*) ... group by ... |
2. Updating one field in JPA entity stackoverflow.comI have an Entity User that is assigned a system privilege in a function. I have a web page where you select a user from a drop down and ... |
3. Hide / remap field values in Hibernate entity based on user permissions stackoverflow.comIn a Spring 2.6 / JPA 1 / Hibernate 3.3 application I need to "hide" some entity field data based on the current user's permissions. E.g. on an entity "Document" there's ... |
4. Make a JPA entity field not to generate table coulmn automatically stackoverflow.comIn a JPA entity bean I do not write
before the getter or field declaration, JPA generates a table column for my field.
I think it ... |
5. Accesing proxied entity instance fields. forum.hibernate.orgHello. I have an Entity which is loaded on demand (through proxy) and if I access a instance variable (which is a Embedded type) on the Entity directly not through a getter method the instance field is null (presumably because the field is accessed on the proxy and not on the actual instance). For example: Code: @Embeddable class EmbeddableType { ... |
6. Help needed: flush updates all the fields of the entity forum.hibernate.orgIf I update one field of the entity in java code (using the setter), when I do fludh(), hibernate updates all the columns for that entity (even though I did not modify them). (This is a big problem since I have 2 pages that modify different fields of the same entity, that can be accessed concurrently by 2 users.) Is this ... |
7. Advice needed on how to NOT update one field of an entity forum.hibernate.orgI need advice on this simple strategy question: I have a typical User entity which among other fields, has a |