Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 93025 invoked from network); 18 Nov 2008 01:47:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 18 Nov 2008 01:47:07 -0000 Received: (qmail 15042 invoked by uid 500); 18 Nov 2008 01:47:15 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 15022 invoked by uid 500); 18 Nov 2008 01:47:15 -0000 Mailing-List: contact derby-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 15011 invoked by uid 99); 18 Nov 2008 01:47:15 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Nov 2008 17:47:15 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Nov 2008 01:46:01 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 4AA37234C287 for ; Mon, 17 Nov 2008 17:46:46 -0800 (PST) Message-ID: <105604837.1226972806304.JavaMail.jira@brutus> Date: Mon, 17 Nov 2008 17:46:46 -0800 (PST) From: "Kathey Marsden (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Closed: (DERBY-3439) Support getGeneratedKeys() for multirow inserts In-Reply-To: <1554085291.1203515503534.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on 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.