From dev-return-19390-apmail-openjpa-dev-archive=openjpa.apache.org@openjpa.apache.org Fri Jul 22 13:40:28 2011 Return-Path: X-Original-To: apmail-openjpa-dev-archive@www.apache.org Delivered-To: apmail-openjpa-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B5B2D78CA for ; Fri, 22 Jul 2011 13:40:28 +0000 (UTC) Received: (qmail 2786 invoked by uid 500); 22 Jul 2011 13:40:28 -0000 Delivered-To: apmail-openjpa-dev-archive@openjpa.apache.org Received: (qmail 2739 invoked by uid 500); 22 Jul 2011 13:40:28 -0000 Mailing-List: contact dev-help@openjpa.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@openjpa.apache.org Delivered-To: mailing list dev@openjpa.apache.org Received: (qmail 2731 invoked by uid 99); 22 Jul 2011 13:40:28 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 22 Jul 2011 13:40:28 +0000 X-ASF-Spam-Status: No, hits=-2001.1 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 22 Jul 2011 13:40:25 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 37D3456CF5 for ; Fri, 22 Jul 2011 13:40:04 +0000 (UTC) Date: Fri, 22 Jul 2011 13:40:04 +0000 (UTC) From: "Michael Dick (JIRA)" To: dev@openjpa.apache.org Message-ID: <696451918.14595.1311342004224.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <332183381.13884.1311316497693.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (OPENJPA-2034) Update H2 Database sql error codes as per the changes in v1.3.154 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/OPENJPA-2034?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13069544#comment-13069544 ] Michael Dick commented on OPENJPA-2034: --------------------------------------- Prashant, in the patch you removed some of the old state codes (e.g 23001 for object-exists). Were these values correct for older versions of H2? What I'm getting at here is whether we can support the older versions of H2 with these changes. > Update H2 Database sql error codes as per the changes in v1.3.154 > ----------------------------------------------------------------- > > Key: OPENJPA-2034 > URL: https://issues.apache.org/jira/browse/OPENJPA-2034 > Project: OpenJPA > Issue Type: Bug > Components: jdbc, sql > Affects Versions: 2.1.0 > Environment: H2 v1.3.154 or higher > Reporter: Prashant Bhat > Attachments: OPENJPA-2034.patch > > > SQL error state codes have been changed in H2 1.3.154 [1] With this change, many openjpa-jdbc-tests were failing. I've update the sql-error-state-codes.xml to use the correct codes, so it'll be great if the patch is reviewed and applied, Thanks. > Regards, > Prashant > [1] http://www.h2database.com/html/changelog.html -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira