-->
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: param set for yes_no in HQL
PostPosted: Mon Dec 15, 2008 3:10 pm 
Newbie

Joined: Fri Dec 12, 2008 8:59 pm
Posts: 10
Hi,

i have filed type yes_no in my table,

i need to find the search based on filed yes_no type.

suppose i have table called "sample" and colum name "sex" is yes_no type.

how can i construct the HQL using this, and pass the param,

am new to Hibernate, if somebody assista grat help for me

thanks
kathir


Top
 Profile  
 
 Post subject: Re: param set for yes_no in HQL
PostPosted: Mon Dec 15, 2008 9:46 pm 
Senior
Senior

Joined: Wed Sep 19, 2007 9:31 pm
Posts: 191
Location: Khuntien (Indonesia)
kathir_se wrote:
Hi,

i have filed type yes_no in my table,

i need to find the search based on filed yes_no type.

suppose i have table called "sample" and colum name "sex" is yes_no type.

how can i construct the HQL using this, and pass the param,

am new to Hibernate, if somebody assista grat help for me

thanks
kathir


You can use Boolean for yes_no type


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.