Return-Path: Delivered-To: apmail-openjpa-users-archive@minotaur.apache.org Received: (qmail 27412 invoked from network); 13 Nov 2009 07:56:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 13 Nov 2009 07:56:02 -0000 Received: (qmail 76780 invoked by uid 500); 13 Nov 2009 07:56:01 -0000 Delivered-To: apmail-openjpa-users-archive@openjpa.apache.org Received: (qmail 76743 invoked by uid 500); 13 Nov 2009 07:56:01 -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 76727 invoked by uid 99); 13 Nov 2009 07:56:00 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 13 Nov 2009 07:56:00 +0000 X-ASF-Spam-Status: No, hits=-2.6 required=5.0 tests=BAYES_00 X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of lists+1214986160035-208411@n2.nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 13 Nov 2009 07:55:58 +0000 Received: from tervel.nabble.com ([192.168.236.150]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1N8r0L-00011w-9J for users@openjpa.apache.org; Thu, 12 Nov 2009 23:55:37 -0800 Date: Thu, 12 Nov 2009 23:55:37 -0800 (PST) From: Cil-Gamir To: users@openjpa.apache.org Message-ID: <1258098937282-3997874.post@n2.nabble.com> In-Reply-To: <1258050200872-3994710.post@n2.nabble.com> References: <1258042259376-3993780.post@n2.nabble.com> <1258042991655-3993884.post@n2.nabble.com> <1258043122344-3993911.post@n2.nabble.com> <1258043163027-3993916.post@n2.nabble.com> <1258043195529-3993922.post@n2.nabble.com> <1258047873264-3994474.post@n2.nabble.com> <1258050200872-3994710.post@n2.nabble.com> Subject: Re: Locking Exception after Persisting new entity MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: Cil-Gamir Hi I think build time enhancement solved it. I'm getting a different error now org.apache.openjpa.persistence.EntityExistsException: An object of type "za.co.rmb.rac.riskRatingEngineWeb.entities.Variable" with oid "0" already exists in this context; another cannot be persisted. But at least the optimistic locking thing has taken a hike Unfortunately I have a teambuilding thing on today... so I can't fix this thing any further. Thanks a lot for the help Daryl Regards Hannes -- View this message in context: http://n2.nabble.com/Re-SOLVED-Re-Locking-Exception-after-Persisting-new-entity-tp3992651p3997874.html Sent from the OpenJPA Users mailing list archive at Nabble.com.