You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ibatis.apache.org by "Pawel (JIRA)" <ib...@incubator.apache.org> on 2008/08/06 18:38:48 UTC

[jira] Commented: (IBATIS-96) Support for JDBC 3 Named parameters

    [ https://issues.apache.org/jira/browse/IBATIS-96?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12620307#action_12620307 ] 

Pawel commented on IBATIS-96:
-----------------------------

apart from parametermap, inline parameters should be supported in a similar way e.g. 

{call my_stored_procedure (#description,jdbcType=VARCHAR,parameter=@desc,mode=INOUT#) }

this change should be very easy to implement and would allow to take advantage of this new nice feature of JDBC3

> Support for JDBC 3 Named parameters
> -----------------------------------
>
>                 Key: IBATIS-96
>                 URL: https://issues.apache.org/jira/browse/IBATIS-96
>             Project: iBatis for Java
>          Issue Type: New Feature
>          Components: SQL Maps
>            Reporter: Ken Katsma
>            Priority: Minor
>
> JDBC 3 now supports the ability to assign parameters by name in a procedure call.  The parameter map could be expanded to support assigning a name for the parameter, a la:
> <parameterMap id=”insert-product-param” class=”com.domain.Product”>
> <parameter property=”description” parameter="desc" />
> <parameter property=”id” parameter="productId" />
> </parameterMap>
> Thanks,
> Ken

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.