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.