You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ibatis.apache.org by "Zach Visagie (JIRA)" <ib...@incubator.apache.org> on 2009/03/24 08:01:51 UTC

[jira] Commented: (IBATIS-142) JDBC 3 Generated Keys Support

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

Zach Visagie commented on IBATIS-142:
-------------------------------------


Thanks Derek, I also discovered the type conversion issue some issues here and there. I forgot to contribute it back to this page though, but I'll have a look sometime. It would be great if some of the ibatis devs had a look whether it might not break some odd/rare scenarios. It's definitely use at own risk!

I realised how much work it would be to do a proper solution, so I do understand why it's not been done yet. (:



> JDBC 3 Generated Keys Support
> -----------------------------
>
>                 Key: IBATIS-142
>                 URL: https://issues.apache.org/jira/browse/IBATIS-142
>             Project: iBatis for Java
>          Issue Type: Improvement
>          Components: SQL Maps
>            Reporter: Brandon Goodin
>            Priority: Minor
>         Attachments: 2008-03-31-inwork.patch, ibatis-2.3.4.726-src.diff, ibatis-jdbc3-patch.txt
>
>
> public int executeUpdate(String sql,int autoGeneratedKeys)
> public boolean execute(String sql,int autoGeneratedKeys)
> public ResultSet getGeneratedKeys()
> We should provide support for jdbc auto generated keys retrieval. This is only available in Java 1.4. So, we would have to throw an UnsupportedFeatureException if 1.3 or earlier was being used.
> Brandon

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