Return-Path: Delivered-To: apmail-openjpa-dev-archive@www.apache.org Received: (qmail 98908 invoked from network); 6 Sep 2007 12:26:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 6 Sep 2007 12:26:55 -0000 Received: (qmail 2053 invoked by uid 500); 6 Sep 2007 12:26:49 -0000 Delivered-To: apmail-openjpa-dev-archive@openjpa.apache.org Received: (qmail 2020 invoked by uid 500); 6 Sep 2007 12:26:49 -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 2011 invoked by uid 99); 6 Sep 2007 12:26:49 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Sep 2007 05:26:49 -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, 06 Sep 2007 12:28:13 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 210157141F2 for ; Thu, 6 Sep 2007 05:26:32 -0700 (PDT) Message-ID: <16481189.1189081592130.JavaMail.jira@brutus> Date: Thu, 6 Sep 2007 05:26:32 -0700 (PDT) From: "Ben Short (JIRA)" To: dev@openjpa.apache.org Subject: [jira] Created: (OPENJPA-351) OpenJPA attempts to create a DEFERRABLE index with HSQL MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org OpenJPA attempts to create a DEFERRABLE index with HSQL ------------------------------------------------------- Key: OPENJPA-351 URL: https://issues.apache.org/jira/browse/OPENJPA-351 Project: OpenJPA Issue Type: Bug Affects Versions: 1.1.0 Environment: OpenJPA 1.1.0-SNAPSHOT HSQL 1.8.0.7 Reporter: Ben Short The exception... org.apache.openjpa.persistence.PersistenceException: Unexpected token: DEFERRABLE in statement [CREATE TABLE AttributedProductAttribute (id BIGINT NOT NULL, name VARCHAR(64) NOT NULL, PRIMARY KEY (id), UNIQUE (name) DEFERRABLE] {stmnt 121226 CREATE TABLE AttributedProductAttribute (id BIGINT NOT NULL, name VARCHAR(64) NOT NULL, PRIMARY KEY (id), UNIQUE (name) DEFERRABLE)} [code=-11, state=37000] at org.apache.openjpa.jdbc.meta.MappingTool.record(MappingTool.java:549) at org.apache.openjpa.jdbc.meta.MappingTool.record(MappingTool.java:449) at org.apache.openjpa.jdbc.kernel.JDBCBrokerFactory.synchronizeMappings(JDBCBrokerFactory.java:170) at org.apache.openjpa.jdbc.kernel.JDBCBrokerFactory.newBrokerImpl(JDBCBrokerFactory.java:130) at org.apache.openjpa.kernel.AbstractBrokerFactory.newBroker(AbstractBrokerFactory.java:186) at org.apache.openjpa.kernel.DelegatingBrokerFactory.newBroker(DelegatingBrokerFactory.java:142) at org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:192) at org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:145) at org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:56) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean$ManagedEntityManagerFactoryInvocationHandler.invoke(AbstractEntityManagerFactoryBean.java:375) at $Proxy1.createEntityManager(Unknown Source) at com.daisytechnologies.eshop.domain2.EntityManagerTests.testIt(EntityManagerTests.java:30) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.