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. > >