db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kathey Marsden (JIRA)" <j...@apache.org>
Subject [jira] Created: (DERBY-3439) Support getGeneratedKeys() for multirow inserts
Date Wed, 20 Feb 2008 13:51:43 GMT
Support getGeneratedKeys() for multirow inserts 
------------------------------------------------

                 Key: DERBY-3439
                 URL: https://issues.apache.org/jira/browse/DERBY-3439
             Project: Derby
          Issue Type: Improvement
          Components: JDBC, Network Client
    Affects Versions: 10.4.0.0
            Reporter: Kathey Marsden
            Priority: Minor


Our getGeneratedKeys()  implementation currently does not support retrieving keys for multirow
inserts or an insert statement with full select.  This is because we use the IDENTITY_VAL_LOCAL
function to retrieve values.  I am not sure how to implement this, especially for client,
 but it would be nice to have.  

We document that getGeneratedKeys uses IDENTITY_VAL_LOCAL and that IDENTITY_VAL_LOCAL is not
affected by a multiple row insert, so filing this as an improvement and not a bug.

After this is changed I think we could change our DatabaseMetaData.supportsGetGeneratedKeys
to be true.


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


Mime
View raw message