Return-Path: Delivered-To: apmail-openjpa-users-archive@minotaur.apache.org Received: (qmail 87007 invoked from network); 7 Apr 2011 08:07:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 7 Apr 2011 08:07:51 -0000 Received: (qmail 93805 invoked by uid 500); 7 Apr 2011 08:07:51 -0000 Delivered-To: apmail-openjpa-users-archive@openjpa.apache.org Received: (qmail 93784 invoked by uid 500); 7 Apr 2011 08:07:51 -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 93776 invoked by uid 99); 7 Apr 2011 08:07:49 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Apr 2011 08:07:49 +0000 X-ASF-Spam-Status: No, hits=2.0 required=5.0 tests=FREEMAIL_FROM,SPF_NEUTRAL,T_TO_NO_BRKTS_FREEMAIL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [216.139.236.26] (HELO sam.nabble.com) (216.139.236.26) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Apr 2011 08:07:42 +0000 Received: from jim.nabble.com ([192.168.236.80]) by sam.nabble.com with esmtp (Exim 4.69) (envelope-from ) id 1Q7kFN-0001nx-Tk for users@openjpa.apache.org; Thu, 07 Apr 2011 01:07:21 -0700 Date: Thu, 7 Apr 2011 01:07:21 -0700 (PDT) From: realdepp To: users@openjpa.apache.org Message-ID: <1302163641906-6249036.post@n2.nabble.com> In-Reply-To: References: <1302042968212-6244055.post@n2.nabble.com> <1302103019673-6246413.post@n2.nabble.com> <1302116090320-6247210.post@n2.nabble.com> <1302119148395-6247365.post@n2.nabble.com> <1302119201221-6247366.post@n2.nabble.com> Subject: Re: Issues with GeneratedValue and SequenceGenerator MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org I think I got it: When I mark the getter and the setter for the id as "final", the error occurs. Without final it works fine. -- View this message in context: http://openjpa.208410.n2.nabble.com/Issues-with-GeneratedValue-and-SequenceGenerator-tp6244055p6249036.html Sent from the OpenJPA Users mailing list archive at Nabble.com.