user-java@ibatis.apache.org
Subject: RE: need createCriteria help
I agreed with your views but here I have something to say, that there is the
methods available, which I am using to fetch the records, right. Now I am
not getting my results according to the requirement. I have done this
according to there document
al Message-
> From: TarakBhandary [mailto:reach2ta...@gmail.com]
> Sent: 19 March 2009 11:43 AM
> To: user-java@ibatis.apache.org
> Subject: RE: need createCriteria help
>
>
> Thanks for the reply. Do you think that my method is ok? Is it the way to
> fetch the records
tbyExample code.
-Original Message-
From: TarakBhandary [mailto:reach2ta...@gmail.com]
Sent: 19 March 2009 11:43 AM
To: user-java@ibatis.apache.org
Subject: RE: need createCriteria help
Thanks for the reply. Do you think that my method is ok? Is it the way to
fetch the records. Do u
what is wrong.
>
> Kind Regards
> Meindert
>
> -Original 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 pos
y map in your xml.
This should make it fairly clear from this what is wrong.
Kind Regards
Meindert
-Original 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
pantarit wrote:
>> >>> >
>> >>> > Have you used Dynamic Mapped Statements? Read Developer Guide.
>> >>> >
>> >>> > Kengkaj
>> >>> >
>> >>> > On Thu, Mar 19, 2009 at 1:25 PM, TarakBhandar
> >>> > On Thu, Mar 19, 2009 at 1:25 PM, TarakBhandary
> >>> > wrote:
> >>> >
> >>> >>
> >>> >> I am not getting the required result from the following, will
> anybody
> >>> >> help
> >>> >> me
>
;> >> 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);
>> >> }
>> >> --
>
List listAll(){
> >>
> >>ContactInfoExample example = new ContactInfoExample();
> >>example.createCriteria().andIdContactInfoEqualTo(24);
> >>return contactInfoDAO.selectByExample(example);
> >> }
> >> --
> >> View
foExample example = new ContactInfoExample();
>>example.createCriteria().andIdContactInfoEqualTo(24);
>>return contactInfoDAO.selectByExample(example);
>> }
>> --
>> View this message in context:
>> http://www.nabble.com/need-createCriteria-help-tp22594367p
ntactInfoExample example = new ContactInfoExample();
>example.createCriteria().andIdContactInfoEqualTo(24);
>return contactInfoDAO.selectByExample(example);
> }
> --
> View this message in context:
> http://www.nabble.com/need-createCriteria-help-tp22594367p22594367
(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.
13 matches
Mail list logo