ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Zoran Avtarovski <zo...@sparecreative.com>
Subject OT: Extending resultsets
Date Tue, 28 Mar 2006 00:45:17 GMT
I've been working on a new project for the last month or so and I'm come
across a few things that are starting to irk me and I want to know if it is
possible to do the following and if not what's involved in implementing.

Is it possible to to extend resultMaps much like Tiles allows you to extend
a base layout. Eg

<resultMap class="CategoryForm" id="Category-result" >

<resultMap extends="Category-result" id="Category-result-detail" >

What I'm finding in our apps is that we often have a base resultMap which
returns the core data for an object and then we have detailed
resultMapswhich include core data plus "detailed" data which includes data
from n+1 selects and other selects. It would be nice not to have to
duplicate the core result mappings.


View raw message