|
Hi, This has to do with the way the queries
are translated to prepared statements. So this has nothing to do with iBATIS,
it’s your driver that does this, check the documentation of the driver. Btw,
this does not affect the results of the query, so there is nothing to worry. Niels From: Narasimha Prasad
[mailto:[EMAIL PROTECTED] Hi I observed that when queries are constructed by ibatis, it
prepends a character ‘N’ to the parameters. Is there a way to turn
this off ? Eg: (Say regionCodeList contains two regions, East and West) <isNotEmpty prepend="AND" property="regionCodeList">
Project.regionCode IN <iterate open="(" property="regionCodeList" conjunction="," close=")">
#regionCodeList[]# </iterate>
</isNotEmpty> translates to AND Project.regionCode IN ( N'REGION_EAST',
N'REGION_WEST' ) Thanks, Prasad DBO2 Inc 650-587-0106 -- |
- Re: turning off prepending the 'N' character. Brandon Goodin
- RE: turning off prepending the 'N' character. Niels Beekman
