-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: Ignoring predicate involving non-existent property
PostPosted: Wed Apr 23, 2008 4:20 pm 
Regular
Regular

Joined: Fri Mar 26, 2004 11:45 am
Posts: 75
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


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.