-->
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: Search functionality criteria API
PostPosted: Thu May 17, 2007 10:57 am 
Newbie

Joined: Thu May 17, 2007 10:51 am
Posts: 16
Hey everbody,
i am very new to this forum


I have one search functionality for my Appln. It searches based on the three criterias 1. user name 2. first name 3. last name.

So I need to generate this functionality using the criteria APIs. But I don't have much idea about this APIs right nuv. Can anybody please clear my problem.


The three fields are "either-or" criteria.

Whenever i give user name , only one record should be brought up.



Thanks in advance


bye

_________________
Manic


Top
 Profile  
 
 Post subject:
PostPosted: Thu May 17, 2007 2:14 pm 
Expert
Expert

Joined: Fri Aug 19, 2005 2:11 pm
Posts: 628
Location: Cincinnati
http://www.hibernate.org/hib_docs/v3/re ... g-criteria

_________________
Chris

If you were at work doing this voluntarily, imagine what you'd want to see to answer a question.


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.