need createCriteria help

2009-03-19 Thread TarakBhandary
I am not getting the required result from the following, will anybody help me out public List listAll(){ ContactInfoExample example = new ContactInfoExample(); example.createCriteria().andIdContactInfoEqualTo(24); return

Re: need createCriteria help

2009-03-19 Thread TarakBhandary
me where was i am going wrong. TarakBhandary wrote: Are you mocking me..?? Its sounds like that. Anyways thanks for the link... Kengkaj Sathianpantarit wrote: You can download dev guide from the link as follows. http://ibatis.apache.org/onlinehelp.html

RE: need createCriteria help

2009-03-19 Thread TarakBhandary
Message- From: TarakBhandary [mailto:reach2ta...@gmail.com] Sent: 19 March 2009 11:10 AM To: user-java@ibatis.apache.org Subject: Re: need createCriteria help Look its not possible to post all the pages. I have post the listAll method where I am trying to get the result as the sql query. I

RE: need createCriteria help

2009-03-19 Thread TarakBhandary
ContactInfo as parameterclass, the query would be SELECT X FROM Y WHERE Z=#idContactInfo# In fact, I rarely let ibator generate the selectbyExample code. -Original Message- From: TarakBhandary [mailto:reach2ta...@gmail.com] Sent: 19 March 2009 11:43 AM To: user-java@ibatis.apache.org

Re: need createCriteria help

2009-03-19 Thread TarakBhandary
tried the Example class because I don't have source codes. As you said you did according to the doc, can you post source codes, and XML mapping? Kengkaj On Thu, Mar 19, 2009 at 2:13 PM, TarakBhandary reach2ta...@gmail.comwrote: I read the doc but that is not enough for me. Actually