ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Clinton Begin <clinton.be...@gmail.com>
Subject Re: More Flexible ResultMaps
Date Wed, 02 Feb 2005 15:37:59 GMT
You can't make it ignore explicit result mappings.  If you use
auto-mapping (where you don't specify a result map) combined with
remapResults="true", then you can do that.

Your other alternative is to use extended result maps.  This
eliminates the redundancy of having minor differences among result


On Wed, 02 Feb 2005 16:24:01 +1100, Huy <huymail@swiftdsl.com.au> wrote:
> Hi,
> Just wondering if I can make SQLMAP ignore the fact that some of my
> select statements will not contain all the columns specified in a target
> ResultMap. This would help because then I could just define one
> resultMap for an entire table and even with all my joins (lazy of
> course) and use this same resultmap in all my queries related to this table.
> Hope this is clear,
> Thanks
> Huy

View raw message