Is 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 client. However, the query filters rows based on column C1 of table T1. This property is mapped on one client, but not the other. I need the client that does not haveT1.C1 mapped to ignore this predicate. Is this possible?
Thanks.
Alec
|