ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Bennett <mark.bennett.m...@gmail.com>
Subject Re: Using <dynamic> elements
Date Wed, 25 Jan 2006 21:44:33 GMT
You can extend resultmaps which allow you to factor similar fields but allow
special handling for separate fields.

<resultMap id="myResult" extends="BaseMap" class="myClass">
        <result property="special" column="specialCol" select="
Namespace.getFromSomeWhere"/>
</resultMap>

Mark


On 1/25/06, Rick Gray <rgray1955@yahoo.com> wrote:
>
> Hi,
>
> I'm evaluating IBATIS for use in our project. I need to know if I can use
> <dynamic> elements in the ParameterMaps and ResultMaps. I want to keep the
> parameters and results in sync with the statement.
>
> Thanks
>
> Rick
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
>

Mime
View raw message