ibatis-dev mailing list archives

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

S Boyd commented on IBATIS-108:

Agree.  Please close.

> 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:
For more information on JIRA, see:

View raw message