ibatis-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Clinton Begin (JIRA)" <ibatis-...@incubator.apache.org>
Subject [jira] Commented: (IBATIS-142) JDBC 3 Generated Keys Support
Date Tue, 19 Dec 2006 18:33:21 GMT
    [ http://issues.apache.org/jira/browse/IBATIS-142?page=comments#action_12459718 ] 
Clinton Begin commented on IBATIS-142:

Niels has an excellent solution.  I never thought of that (oh the shame!).   ${SELECT_KEY}
or something like that.


I think it is time we did this, especially now that (as Niels said) 1.4 is required (come
on people, Java 6 is out!).  

It shouldn't be very hard at all. I'll have a look in the next week.  What the heck, I'm on
vacation.  ;-)


> JDBC 3 Generated Keys Support
> -----------------------------
>                 Key: IBATIS-142
>                 URL: http://issues.apache.org/jira/browse/IBATIS-142
>             Project: iBatis for Java
>          Issue Type: Improvement
>          Components: SQL Maps
>            Reporter: Brandon Goodin
>            Priority: Minor
> 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.
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


View raw message