t;>>> >> >
>>>> >> >>
>>>> >> >> Hi Benjamin,i'd tried this way before also...but it still hit the
>>>> same
>>>> >> >> problem... :(
>>>> >> >>
>>>> >>
t; >
>>> >> >>
>>> >> >> Hi Benjamin,i'd tried this way before also...but it still hit the
>>> same
>>> >> >> problem... :(
>>> >> >>
>>> >> >>
>>> >> >>
>>
>> Benjamin-Klatt wrote:
>> >> >> >
>> >> >> > No there should not be any limitation that you will have to worry
>> >> >> about.
>> >> >> > What data type do you use in the database for the PX_IR025_PAN
>> >
y
> >> >> about.
> >> >> > What data type do you use in the database for the PX_IR025_PAN
> >> field?
> >> >> >
> >> >> > Can you try to explicitly define your sql data type in the query?
> >> >> > Like: where PX_IR0
you will have to worry
>> >> about.
>> >> > What data type do you use in the database for the PX_IR025_PAN
>> field?
>> >> >
>> >> > Can you try to explicitly define your sql data type in the query?
>> >> > Like: where PX_I
type in the query?
> >> > Like: where PX_IR025_PAN = #pan:VARCHAR#
> >> >
> >> >
> >> >
> >> >
> >> > -Ursprüngliche Nachricht-
> >> > Von: Cax [mailto:cahyadiherma...@gmail.com]
> >> > Gese
25_PAN field?
>> >
>> > Can you try to explicitly define your sql data type in the query?
>> > Like: where PX_IR025_PAN = #pan:VARCHAR#
>> >
>> >
>> >
>> >
>> > -----Ursprüngliche Nachricht-
>> > Von: Cax [mailto:c
PX_IR025_PAN = #pan:VARCHAR#
> >
> >
> >
> >
> > -Ursprüngliche Nachricht-
> > Von: Cax [mailto:cahyadiherma...@gmail.com]
> > Gesendet: Mittwoch, 8. Juli 2009 19:08
> > An: user-java@ibatis.apache.org
> > Betreff: Re: AW: String parameter
to explicitly define your sql data type in the query?
> Like: where PX_IR025_PAN = #pan:VARCHAR#
>
>
>
>
> -Ursprüngliche Nachricht-
> Von: Cax [mailto:cahyadiherma...@gmail.com]
> Gesendet: Mittwoch, 8. Juli 2009 19:08
> An: user-java@ibatis.apache.
[mailto:cahyadiherma...@gmail.com]
Gesendet: Mittwoch, 8. Juli 2009 19:08
An: user-java@ibatis.apache.org
Betreff: Re: AW: String parameter problem
yes,of course.there is a record which match the query. When i try to change
the data type to Long,it works.but if String,return null value. And
then
om]
> Gesendet: Mittwoch, 8. Juli 2009 17:31
> An: user-java@ibatis.apache.org
> Betreff: Re: String parameter problem
>
>
> Hi,i turn on Log4j,but i can't see what is the problem in the log
> file..here
> is the result in the log file :
>
>
4567890123456");
>>
>> acc = (Account) sqlMapper.queryForObject("selectAccountById", acc);
>> //(Note : return null)
>> System.out.println(" " + acc.getname());
>>
>>
>> Thanks before for your help:-)
>>
>>
>
);
>>
>> acc = (Account) sqlMapper.queryForObject("selectAccountById", acc);
>> //(Note : return null)
>> System.out.println(" " + acc.getname());
>>
>>
>> Thanks before for your help:-)
>>
>>
>>
>> --
>
where PX_IR025_PAN = #pan#
>
>
>
> in java:
>
> Account acc = new Account();
>
> acc.setpan("1234567890123456");
>
> acc = (Account) sqlMapper.queryForObject("selectAccountById", acc);
> //(Note : return null)
> System.out.println(" "
n(" " + acc.getname());
Thanks before for your help:-)
--
View this message in context:
http://www.nabble.com/String-parameter-problem-tp24370405p24370405.html
Sent from the iBATIS - User - Java mailing list archive at Nabble.com.
--
15 matches
Mail list logo