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: abstract resultmap?
Date Sat, 29 Jul 2006 23:42:13 GMT
Well...what would it mean to support abstract type?  That would be rather
useless.  :-)

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 <mfcplus@yahoo.com> 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
>

Mime
View raw message