Return-Path: X-Original-To: apmail-openjpa-users-archive@minotaur.apache.org Delivered-To: apmail-openjpa-users-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C47F2C7C1 for ; Wed, 13 Jun 2012 06:29:31 +0000 (UTC) Received: (qmail 46152 invoked by uid 500); 13 Jun 2012 06:29:31 -0000 Delivered-To: apmail-openjpa-users-archive@openjpa.apache.org Received: (qmail 46039 invoked by uid 500); 13 Jun 2012 06:29:30 -0000 Mailing-List: contact users-help@openjpa.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@openjpa.apache.org Delivered-To: mailing list users@openjpa.apache.org Received: (qmail 46011 invoked by uid 99); 13 Jun 2012 06:29:29 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Jun 2012 06:29:29 +0000 X-ASF-Spam-Status: No, hits=2.0 required=5.0 tests=SPF_NEUTRAL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: 216.139.236.26 is neither permitted nor denied by domain of alexey.v.romanov@gmail.com) Received: from [216.139.236.26] (HELO sam.nabble.com) (216.139.236.26) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Jun 2012 06:29:24 +0000 Received: from jim.nabble.com ([192.168.236.80]) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1Seh4i-0005XZ-2d for users@openjpa.apache.org; Tue, 12 Jun 2012 23:29:04 -0700 Date: Tue, 12 Jun 2012 23:29:04 -0700 (PDT) From: Alexey Romanov To: users@openjpa.apache.org Message-ID: <1339568944072-7580265.post@n2.nabble.com> In-Reply-To: <1339568481701-7580264.post@n2.nabble.com> References: <1339568481701-7580264.post@n2.nabble.com> Subject: Re: Change of MappingDefaults breaks OPENJPA_SEQUENCE_TABLE MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org And replacing the @Table annotation with @Table(name = "object_classes", uniqueConstraints = @UniqueConstraint(columnNames = { "name", "\"version\"" })) fixes the problem. Still don't see why... -- View this message in context: http://openjpa.208410.n2.nabble.com/Change-of-MappingDefaults-breaks-OPENJPA-SEQUENCE-TABLE-tp7580246p7580265.html Sent from the OpenJPA Users mailing list archive at Nabble.com.