[ 
http://issues.apache.org/jira/browse/IBATIS-242?page=comments#action_12361739 ] 

Jan Vissers commented on IBATIS-242:
------------------------------------

Sure.

I created a Oracle XMLType custom type handler where, for instance, I cast the 
underlying ResultSet to an OracleResultSet after which I can perform something 
like: 

  OracleResultSet orset = ....
  OPAQUE op = null;
  if( resultGetter.getResultName() != null ) { //Customized iBatis sqlMap 
framework
    op = orset.getOPAQUE(resultGetter.getResultName());
  } else {
    op = orset.getOPAQUE(resultGetter.getResultIndex()); //Customized iBatis 
sqlMap framework
  }

  .... 

In the end this allows me to map org.w3c.dom.Element attributes to Oracle's 
XMLType columns.

> Add property getters for ParameterSetter index and ResultGetter name and index
> ------------------------------------------------------------------------------
>
>          Key: IBATIS-242
>          URL: http://issues.apache.org/jira/browse/IBATIS-242
>      Project: iBatis for Java
>         Type: Improvement
>   Components: SQL Maps
>     Versions: 2.1.6
>     Reporter: Jan Vissers

>
> We could make good use of this for Custom Type Handlers, combined with Oracle 
> specific features.

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