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
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira

Reply via email to