Return-Path: Delivered-To: apmail-openjpa-dev-archive@www.apache.org Received: (qmail 58096 invoked from network); 19 Aug 2009 16:25:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 19 Aug 2009 16:25:20 -0000 Received: (qmail 87084 invoked by uid 500); 19 Aug 2009 16:25:38 -0000 Delivered-To: apmail-openjpa-dev-archive@openjpa.apache.org Received: (qmail 87033 invoked by uid 500); 19 Aug 2009 16:25:38 -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 86964 invoked by uid 99); 19 Aug 2009 16:25:38 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Aug 2009 16:25:38 +0000 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; Wed, 19 Aug 2009 16:25:35 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id D9432234C044 for ; Wed, 19 Aug 2009 09:25:14 -0700 (PDT) Message-ID: <1628719040.1250699114874.JavaMail.jira@brutus> Date: Wed, 19 Aug 2009 09:25:14 -0700 (PDT) From: "Donald Woods (JIRA)" To: dev@openjpa.apache.org Subject: [jira] Updated: (OPENJPA-934) Oversight in TestSequenceGenerator In-Reply-To: <1786735235.1235209201935.JavaMail.jira@brutus> 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-934?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Donald Woods updated OPENJPA-934: --------------------------------- Fix Version/s: (was: 2.0.0) 2.0.0-M3 > Oversight in TestSequenceGenerator > ---------------------------------- > > Key: OPENJPA-934 > URL: https://issues.apache.org/jira/browse/OPENJPA-934 > Project: OpenJPA > Issue Type: Bug > Components: sql > Affects Versions: 2.0.0-M2 > Reporter: Milosz Tylenda > Assignee: Jeremy Bauer > Priority: Trivial > Fix For: 2.0.0-M3 > > > There is a small oversight in TestSequenceGenerator which results in the test being run on a database without sequences and not being run on a database with sequences. > The snippet: > try { > enabled = > ((JDBCConfiguration) emf.getConfiguration()) > .getDBDictionaryInstance().nextSequenceQuery == null; > } catch (Throwable t) { > enabled = false; > } > should read: > try { > enabled = > ((JDBCConfiguration) emf.getConfiguration()) > .getDBDictionaryInstance().nextSequenceQuery != null; > } catch (Throwable t) { > enabled = false; > } -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.