You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ibatis.apache.org by "Jan Vissers (JIRA)" <ib...@incubator.apache.org> on 2006/01/04 00:21:00 UTC

[jira] Created: (IBATIS-242) Add property getters for ParameterSetter index and ResultGetter name and index

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


[jira] Commented: (IBATIS-242) Add property getters for ParameterSetter index and ResultGetter name and index

Posted by "Jan Vissers (JIRA)" <ib...@incubator.apache.org>.
    [ http://issues.apache.org/jira/browse/IBATIS-242?page=comments#action_12362364 ] 

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

I was wondering whether the explanation was sufficient - and whether the requested improvement is going to be recognized. Thanks.

> 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


[jira] Commented: (IBATIS-242) Add property getters for ParameterSetter index and ResultGetter name and index

Posted by "Jan Vissers (JIRA)" <ib...@incubator.apache.org>.
    [ 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


[jira] Commented: (IBATIS-242) Add property getters for ParameterSetter index and ResultGetter name and index

Posted by "Brandon Goodin (JIRA)" <ib...@incubator.apache.org>.
    [ http://issues.apache.org/jira/browse/IBATIS-242?page=comments#action_12363067 ] 

Brandon Goodin commented on IBATIS-242:
---------------------------------------

I didn't see your request for sufficiency. Sorry. I think explanation is sufficient for when we review features for the next version of iBatis.

> 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


[jira] Commented: (IBATIS-242) Add property getters for ParameterSetter index and ResultGetter name and index

Posted by "Brandon Goodin (JIRA)" <ib...@incubator.apache.org>.
    [ http://issues.apache.org/jira/browse/IBATIS-242?page=comments#action_12361733 ] 

Brandon Goodin commented on IBATIS-242:
---------------------------------------

Could you please expound on what you mean by this and specify an example of it's usefullness.

> 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