-->
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.  [ 4 posts ] 
Author Message
 Post subject: Query Problem
PostPosted: Tue Dec 02, 2003 7:38 am 
Newbie

Joined: Wed Nov 19, 2003 5:30 am
Posts: 9
Hi there.

My users fill out several input fields in a form.
Now I'm looking for a way to build a dynamic query, where the input fields have to be chained to an OR-condition an empty fields should be ignored for that query.

Any ideas?

thx,

Andi


Top
 Profile  
 
 Post subject:
PostPosted: Tue Dec 02, 2003 7:40 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 12:50 pm
Posts: 5130
Location: Melbourne, Australia
Take a look at Example queries in 2.1


Top
 Profile  
 
 Post subject:
PostPosted: Tue Dec 02, 2003 9:08 am 
Newbie

Joined: Wed Nov 19, 2003 5:30 am
Posts: 9
gavin wrote:
Take a look at Example queries in 2.1


Where do I find them?


Top
 Profile  
 
 Post subject:
PostPosted: Tue Dec 02, 2003 9:09 am 
Hibernate Team
Hibernate Team

Joined: Mon Aug 25, 2003 9:11 pm
Posts: 4592
Location: Switzerland
http://www.hibernate.org/hib_docs/refer ... riteria-s6

_________________
JAVA PERSISTENCE WITH HIBERNATE
http://jpwh.org
Get the book, training, and consulting for your Hibernate team.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 4 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.