I think what you're asking is to we support polymorphic queries, and the answer is YES.
The wiki notes this as an undocumented feature:
http://opensource.atlassian.com/confluence/oss/display/IBATIS/Not+Yet+Documented
You may find the unit tests helpful though, it's a pretty simple feature to use.
http://svn.apache.org/repos/asf/ibatis/trunk/java/mapper/mapper2/test/com/ibatis/sqlmap/maps/Documents.xml
http://svn.apache.org/repos/asf/ibatis/trunk/java/mapper/mapper2/test/com/ibatis/sqlmap/DiscriminatorTest.java
Cheers,
Clinton
On 7/29/06, Bing Lu <[EMAIL PROTECTED]> wrote:
hi, does the mapper support abstract resultmaps? or
the class mapped must be instantiable
thanks
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
