Allow resultClass="object" to be handled by ObjectTypeHandler
-------------------------------------------------------------

         Key: IBATISNET-127
         URL: http://issues.apache.org/jira/browse/IBATISNET-127
     Project: iBatis for .NET
        Type: Improvement
    Reporter: Ron Grabowski
 Assigned to: Gilles Bayon 
    Priority: Trivial


This result of this statement:

 <select id="GetOne" resultClass="string">
  ...
 </select>

is processed by the StringTypeHandler. Internally, the GetString method of the 
IDataReader is called.

Currently its not possible to use the ObjectTypeHandler when the a resultClass 
of object is used:

 <!-- error -->
 <select id="GetOne" resultClass="object">
 ...
 </select>

That should use ObjectTypeHandler which calls the GetValue method on the 
IDataReader.

Is this something we need to support ???

-- 
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

Reply via email to