-->
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.  [ 2 posts ] 
Author Message
 Post subject: Hibernate Criteria Queries
PostPosted: Sun May 29, 2005 4:52 pm 
Regular
Regular

Joined: Thu Feb 17, 2005 1:58 am
Posts: 63
I really like the criteria-based "query-by-example" feature. I have studied the docs, and I would like to confirm its full power. Please help me with the following:

1. Is is possible to submit multiple "examples" and do an or/and/not between the examples in one criteria?

2. Can the examples include the associations? Ie. is it possible to provide an example "Organization->Employees" to search for organizations with employees with, say, the last name "Smith" ?

Thank-you!
Hiber D.


Top
 Profile  
 
 Post subject:
PostPosted: Mon May 30, 2005 10:21 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 12:50 pm
Posts: 5130
Location: Melbourne, Australia
Yes. And yes.


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

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.