[ https://issues.apache.org/jira/browse/IBATIS-142?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12688679#action_12688679 ]
Clinton Begin commented on IBATIS-142: -------------------------------------- iBATIS 3 has proper support for generated keys. Unfortunately it was an afterthought for so many JDBC drivers (still is -- even for Derby, the "Java DB"!), that it became an afterthought of ours as well. > 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.