You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ibatis.apache.org by "Ron Grabowski (JIRA)" <ib...@incubator.apache.org> on 2005/11/20 20:32:25 UTC

[jira] Created: (IBATISNET-127) Allow resultClass="object" to be handled by ObjectTypeHandler

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