Hibernate Books

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 
Author Message
 Post subject: Restrictions.or() with more than two parameters?
PostPosted: Wed Apr 23, 2008 1:04 pm 
Beginner
Beginner

Joined: Fri Apr 11, 2008 1:48 am
Posts: 36
Hello,

I want to build an criteria with one attribute, which can have more that two parameters (OR-Relation). Restrictions.or() does only accept 2 parameters. Is there any other solution for this problem?


Top
 Profile  
 
 Post subject:
PostPosted: Wed Apr 23, 2008 2:23 pm 
Expert
Expert

Joined: Mon Nov 26, 2007 2:29 pm
Posts: 443
Restrictions.in( )

_________________
Gonzalo Díaz


Top
 Profile  
 
 Post subject: Re: Restrictions.or() with more than two parameters?
PostPosted: Sat Jan 21, 2012 4:09 am 
Newbie

Joined: Sat Jan 21, 2012 4:03 am
Posts: 1
But what is the solution if we have more then 2 like conditions which should be in OR


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