ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kris Jenkins <krisajenk...@yahoo.co.uk>
Subject Re: Custom funcion si SqlMap
Date Mon, 16 May 2005 14:59:18 GMT
Hey Marco,

I'm afraid not.  You could just do it in the database instead:

<isNotNull prepend="AND" property="name"> TNODE = trim( upper( #name# ) 
) </isNotNull>

HTH,
Kris

> Hello!!
>
> Is possible use Trim(),UpperCase and another funcion in this mode:
>
> .....
> <dynamic prepend="WHERE">
> <isNotNull prepend="AND" property="name" param="trim()" 
> param="uppercase()" (etc.... ) > TNODE = #name# </isNotNull>
> </dynamic>
> .......
>
>
>
> Thanks!!!!
>
> Marco Berri
>


-- 
Kris Jenkins
Email:  kris@jenkster.com
Blog:   http://cafe.jenkster.com/
Wiki:   http://wiki.jenkster.com/



Mime
View raw message