ibatis-dev mailing list archives

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

I'd *love* to get getGeneratedKeys() supported so I don't have to hard-code database-specific
code to return primary keys in my SQL mapping files.

> 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

        

Mime
View raw message