From users-return-10351-apmail-openjpa-users-archive=openjpa.apache.org@openjpa.apache.org Thu Sep 27 21:07:41 2012 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 2CD29D824 for ; Thu, 27 Sep 2012 21:07:41 +0000 (UTC) Received: (qmail 32206 invoked by uid 500); 27 Sep 2012 21:07:41 -0000 Delivered-To: apmail-openjpa-users-archive@openjpa.apache.org Received: (qmail 32173 invoked by uid 500); 27 Sep 2012 21:07:40 -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 32162 invoked by uid 99); 27 Sep 2012 21:07:40 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Sep 2012 21:07:40 +0000 X-ASF-Spam-Status: No, hits=3.0 required=5.0 tests=FORGED_YAHOO_RCVD,SPF_NEUTRAL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [216.139.250.139] (HELO joe.nabble.com) (216.139.250.139) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Sep 2012 21:07:34 +0000 Received: from jim.nabble.com ([192.168.236.80]) by joe.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1THLIf-0005xH-Mi for users@openjpa.apache.org; Thu, 27 Sep 2012 14:07:13 -0700 Date: Thu, 27 Sep 2012 14:07:13 -0700 (PDT) From: garpinc To: users@openjpa.apache.org Message-ID: <1348780033688-7581251.post@n2.nabble.com> In-Reply-To: References: <1345667358281-7580917.post@n2.nabble.com> <1348680192631-7581226.post@n2.nabble.com> <1348754448750-7581235.post@n2.nabble.com> <1348755214506-7581237.post@n2.nabble.com> <1348777235595-7581246.post@n2.nabble.com> <1348777756492-7581248.post@n2.nabble.com> Subject: Re: Duplicate entry issue with multithreaded application MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit I see what you mean.. In my second post I had moved on and said "I think above should work but in anycase if I change to AUTO id generation then I get this exception instead which is a unique violation on an alternate key for that table." So I agree with your solution to fix the first post but I guess right now my problem is the second post with the unique key. -- View this message in context: http://openjpa.208410.n2.nabble.com/Duplicate-entry-issue-with-multithreaded-application-tp7580917p7581251.html Sent from the OpenJPA Users mailing list archive at Nabble.com.