Return-Path: Delivered-To: apmail-incubator-empire-db-commits-archive@minotaur.apache.org Received: (qmail 13269 invoked from network); 8 Feb 2009 10:57:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 8 Feb 2009 10:57:25 -0000 Received: (qmail 21459 invoked by uid 500); 8 Feb 2009 10:57:25 -0000 Delivered-To: apmail-incubator-empire-db-commits-archive@incubator.apache.org Received: (qmail 21441 invoked by uid 500); 8 Feb 2009 10:57:25 -0000 Mailing-List: contact empire-db-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: empire-db-dev@incubator.apache.org Delivered-To: mailing list empire-db-commits@incubator.apache.org Received: (qmail 21430 invoked by uid 99); 8 Feb 2009 10:57:25 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 08 Feb 2009 02:57:25 -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; Sun, 08 Feb 2009 10:57:21 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 5AC6A234C4B0 for ; Sun, 8 Feb 2009 02:57:00 -0800 (PST) Message-ID: <1728131680.1234090620370.JavaMail.jira@brutus> Date: Sun, 8 Feb 2009 02:57:00 -0800 (PST) From: =?utf-8?Q?Rainer_D=C3=B6bele_=28JIRA=29?= To: empire-db-commits@incubator.apache.org Subject: [jira] Created: (EMPIREDB-34) Add support for stmt.executeUpdate with Statement.RETURN_GENERATED_KEYS instead of getPostInsertAutoIncValue() MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Add support for stmt.executeUpdate with Statement.RETURN_GENERATED_KEYS ins= tead of getPostInsertAutoIncValue() ---------------------------------------------------------------------------= ----------------------------------- Key: EMPIREDB-34 URL: https://issues.apache.org/jira/browse/EMPIREDB-34 Project: Empire-DB Issue Type: Improvement Components: Core Affects Versions: empire-db-2.0.5-incubating Reporter: Rainer D=C3=B6bele Assignee: Rainer D=C3=B6bele Fix For: empire-db-2.0.5-incubating So far Empire-db has used mainly native or emulated Sequences for record ke= y generation. For databases that auto generate keys there has been a method called getPos= tInsertAutoIncValue() which had to be implmented for each driver.=20 The ability of JDBC to retrieve auto generated keys when executing a statem= ent has not been used. In order to support more databased the getPostInsertAutoIncValue() proved = to be too inflexible. Instead it is desireable to use the getGeneratedKeys() function on the JDBC= Statement object. --=20 This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.