ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brandon Goodin <brandon.goo...@gmail.com>
Subject Re: Custom funcion si SqlMap
Date Mon, 16 May 2005 15:11:51 GMT
It is not possible to use java code within attributes (or anywhere
else for that matter). You can handle this via SQL function calls (
which may harm preformance) or you can make the alteration to your
bean in the DAO class before it is passed in to the mapped statement.

Brandon

On 5/16/05, Marco Berri <marco.berri@bluestudio.it> wrote:
> 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
>

Mime
View raw message