1. Hibernate ignore property under some circumstances stackoverflow.comI have a domain object that contains another domain object; call them A and B. B contains a blob (an image file) which can be large. As long as ... |
2. How do I get Hibernate to IGNORE properties in my class? forum.hibernate.orgI have hbm2java using to generate a Hibernate aware abstract CatBase class which I then extend to Cat. When I add variable x (which I do not want to persist) to Cat, Hibernate barfs. Is there a way I can tell Hibernate to ONLY pay attention to the properties I've explicitly mapped? Thanks, Sandy |
3. Ignoring predicate involving non-existent property forum.hibernate.orgIs there a way to configure Hibernate to run in a "forgiving" mode and ignore predicates which involve non-existent properties? Here is the use case I am trying to handle. Suppose I have a client-server environment with one application server and two clients, which have different database schemas. The server administrator defines an HQL query which should be run on each ... |
4. ignore certain properties during merge forum.hibernate.orgHi, I have this problem to solve where I have an entity that has these mapped properties (note that this is a really simplified version of my entity): Code: RequestEntity boolean isOverridden String otherField In thread 1, when a new RequestEntity is created and inserted in the table, it also executes a JPQL UPDATE statement that sets ... |