You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ibatis.apache.org by "Jeff Butler (JIRA)" <ib...@incubator.apache.org> on 2006/06/08 20:33:30 UTC
[jira] Commented: (IBATIS-108) Declarative Implementation Factory
for Interface properties
[ 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