Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 1490 invoked from network); 28 Jun 2007 23:10:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 28 Jun 2007 23:10:27 -0000 Received: (qmail 83289 invoked by uid 500); 28 Jun 2007 23:10:29 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 83257 invoked by uid 500); 28 Jun 2007 23:10:29 -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 83245 invoked by uid 99); 28 Jun 2007 23:10:29 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 28 Jun 2007 16:10:29 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 28 Jun 2007 16:10:26 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id D80587141E3 for ; Thu, 28 Jun 2007 16:10:05 -0700 (PDT) Message-ID: <16773587.1183072205881.JavaMail.jira@brutus> Date: Thu, 28 Jun 2007 16:10:05 -0700 (PDT) From: "Laura Stewart (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Resolved: (DERBY-2850) typo in autogenerated keys documentation. Should be Statement.RETURN_GENERATED_KEYS not Statement.RETURN_GENERATED_KEY In-Reply-To: <30708387.1182362185932.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-2850?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Laura Stewart resolved DERBY-2850. ---------------------------------- Resolution: Fixed Derby Info: (was: [Patch Available]) Committed revision 551731. > typo in autogenerated keys documentation. Should be Statement.RETURN_GENERATED_KEYS not Statement.RETURN_GENERATED_KEY > ----------------------------------------------------------------------------------------------------------------------- > > Key: DERBY-2850 > URL: https://issues.apache.org/jira/browse/DERBY-2850 > Project: Derby > Issue Type: Bug > Affects Versions: 10.3.0.0 > Reporter: Kathey Marsden > Assignee: Laura Stewart > Priority: Minor > Attachments: crefjavstateautogen.html, derby2850.diff > > > In the autogenerated keys examples there is a typo: > http://db.apache.org/derby/docs/dev/ref/crefjavstateautogen.html > The example for Code fragment 1 has > stmt.execute( > "INSERT INTO TABLE1 (C11) VALUES (1)", > Statement.RETURN_GENERATED_KEY); > but it should be: > stmt.execute( > "INSERT INTO TABLE1 (C11) VALUES (1)", > Statement.RETURN_GENERATED_KEYS); > http://db.apache.org/derby/docs/dev/ref/crefjavstateautogen.html -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.