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 will post the source code if it is in one page, but its linked in so many pages. So it is not possible at this moment.
Kengkaj Sathianpantarit wrote: > > I haven't 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.com>wrote: > >> >> I read the doc but that is not enough for me. Actually I am done >> according >> to >> the doc but still getting my required result. Thats why i need ur help. I >> dont understand why i am not getting my desire result. >> >> Do u ever tried this example class. I mean example.createCriteria()....? >> if yes then tell 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 >> >> >> >> Don't hurry, actually you don't "have to" do the job ASAP :). Do it >> >> right. >> >> >> >> Kengkaj >> >> >> >> On Thu, Mar 19, 2009 at 1:42 PM, TarakBhandary >> >> <reach2ta...@gmail.com>wrote: >> >> >> >>> >> >>> Actually i dont have enough knowledge in this pls help me out i have >> to >> >>> do >> >>> the job as soon as possible. >> >>> If there is any link which will help me out pls provide. >> >>> >> >>> >> >>> Kengkaj Sathianpantarit wrote: >> >>> > >> >>> > Have you used Dynamic Mapped Statements? Read Developer Guide. >> >>> > >> >>> > Kengkaj >> >>> > >> >>> > On Thu, Mar 19, 2009 at 1:25 PM, TarakBhandary >> >>> > <reach2ta...@gmail.com>wrote: >> >>> > >> >>> >> >> >>> >> 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 contactInfoDAO.selectByExample(example); >> >>> >> } >> >>> >> -- >> >>> >> View this message in context: >> >>> >> >> >>> >> http://www.nabble.com/need-createCriteria-help-tp22594367p22594367.html >> >>> >> Sent from the iBATIS - User - Java mailing list archive at >> >>> Nabble.com. >> >>> >> >> >>> >> >> >>> > >> >>> > >> >>> >> >>> -- >> >>> View this message in context: >> >>> >> http://www.nabble.com/need-createCriteria-help-tp22594367p22594491.html >> >>> Sent from the iBATIS - User - Java mailing list archive at >> Nabble.com. >> >>> >> >>> >> >> >> >> >> > >> > >> >> -- >> View this message in context: >> http://www.nabble.com/need-createCriteria-help-tp22594367p22594759.html >> Sent from the iBATIS - User - Java mailing list archive at Nabble.com. >> >> > > -- View this message in context: http://www.nabble.com/need-createCriteria-help-tp22594367p22595554.html Sent from the iBATIS - User - Java mailing list archive at Nabble.com.