You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by "Kathey Marsden (JIRA)" <ji...@apache.org> on 2008/02/20 14:51:43 UTC

[jira] Created: (DERBY-3439) Support getGeneratedKeys() for multirow inserts

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.


[jira] Closed: (DERBY-3439) Support getGeneratedKeys() for multirow inserts

Posted by "Kathey Marsden (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DERBY-3439?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kathey Marsden closed DERBY-3439.
---------------------------------

    Resolution: Duplicate

This is a duplicate of DERBY-3609


> 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.1.3
>            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.