From dev-return-16441-apmail-openjpa-dev-archive=openjpa.apache.org@openjpa.apache.org Fri May 14 08:32:38 2010 Return-Path: Delivered-To: apmail-openjpa-dev-archive@www.apache.org Received: (qmail 84953 invoked from network); 14 May 2010 08:32:38 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 14 May 2010 08:32:38 -0000 Received: (qmail 95699 invoked by uid 500); 14 May 2010 08:32:38 -0000 Delivered-To: apmail-openjpa-dev-archive@openjpa.apache.org Received: (qmail 95591 invoked by uid 500); 14 May 2010 08:32:36 -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 95583 invoked by uid 99); 14 May 2010 08:32:35 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 14 May 2010 08:32:35 +0000 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=SPF_HELO_PASS,SPF_NEUTRAL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 14 May 2010 08:32:29 +0000 Received: from jim.nabble.com ([192.168.236.80]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1OCqJU-0001vY-0n for dev@openjpa.apache.org; Fri, 14 May 2010 01:32:08 -0700 Date: Fri, 14 May 2010 01:32:08 -0700 (PDT) From: Pinaki Poddar To: dev@openjpa.apache.org Message-ID: <1273825928017-5049997.post@n2.nabble.com> In-Reply-To: References: Subject: Re: Still not working MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org OPENJPA_SEQUENCE_TABLE is the table to generate unique identifier for persistent classes. You can configure OpenJPA to define this table 1. Use in persistence.xml configuration. 2. Or create the sequence table directly. The following DDL is for MySQL CREATE TABLE `openjpa_sequence_table` ( `ID` tinyint(4) NOT NULL, `SEQUENCE_VALUE` bigint(20) default NULL, PRIMARY KEY (`ID`) ) 3. Run $ java org.apache.openjpa.jdbc.kernel.TableJDBCSeq with persistence.xml as property argument to define the table Usage: java org.apache.openjpa.jdbc.kernel.TableJDBCSeq [-properties/-p ] [- ]* -action/-a [value] 4. Please post your persistence.xml if none of the above works ----- Pinaki -- View this message in context: http://openjpa.208410.n2.nabble.com/Still-not-working-tp5049761p5049997.html Sent from the OpenJPA Developers mailing list archive at Nabble.com.