ibatis-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeff Butler (JIRA)" <ibatis-...@incubator.apache.org>
Subject [jira] Commented: (IBATIS-108) Declarative Implementation Factory for Interface properties
Date Thu, 08 Jun 2006 18:33:30 GMT
    [ http://issues.apache.org/jira/browse/IBATIS-108?page=comments#action_12415396 ] 

Jeff Butler commented on IBATIS-108:
------------------------------------

I believe the fix for IBATIS-50 addresses your need.  Please advise.  If so, I'll close this
issue.

> Declarative Implementation Factory for Interface properties
> -----------------------------------------------------------
>
>          Key: IBATIS-108
>          URL: http://issues.apache.org/jira/browse/IBATIS-108
>      Project: iBatis for Java
>         Type: New Feature

>   Components: SQL Maps
>     Versions: 2.0.9b
>     Reporter: S Boyd

>
> If we have an object that has a field which is an Interface, the complexBeanProbe.setObject()
throws a probe exception because it cannot instantiate an interface, which is expected.  It
would be convenient to offer a way in the sqlmap config to declaratively define a factory
that returns a concrete class which implements the interface.  
> Currently, a workaround is to instantiate the field at the time the object is created.
> Stephen

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message