Return-Path: X-Original-To: apmail-openjpa-dev-archive@www.apache.org Delivered-To: apmail-openjpa-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0432010CD5 for ; Wed, 9 Oct 2013 16:13:10 +0000 (UTC) Received: (qmail 29407 invoked by uid 500); 9 Oct 2013 16:13:08 -0000 Delivered-To: apmail-openjpa-dev-archive@openjpa.apache.org Received: (qmail 29365 invoked by uid 500); 9 Oct 2013 16:13:05 -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 29293 invoked by uid 99); 9 Oct 2013 16:13:04 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Oct 2013 16:13:04 +0000 X-ASF-Spam-Status: No, hits=2.8 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,URI_HEX X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of kwsutter@gmail.com designates 209.85.215.45 as permitted sender) Received: from [209.85.215.45] (HELO mail-la0-f45.google.com) (209.85.215.45) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Oct 2013 16:13:00 +0000 Received: by mail-la0-f45.google.com with SMTP id eh20so895591lab.18 for ; Wed, 09 Oct 2013 09:12:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=dVI36PCWN2p4lB1hQAM3gwu2O09Ba0pI0acjDflCbJQ=; b=kfCfiyEw8m1rIGSXeHxei5yQKnee1th7VZTLluhIVcy7+E3UvQZC5R5hFWZvFwGlHO oQlLn3uv2vNFCjA1/9q4WcjGB8Rdieo01FP1f4dcNiiKL9Ob0DaBNN/BZr25x4hH3ott j00YEEJYlBzsfn/wXK1Y1doLhC1PAK748Y1E2ylTONdhClG4cCNVtVH/KMkEVX4HL29H Wd9utsMYElLs9o6f3cy0u7zZIJwKWzOuygD/3TZMfPUCHXo57/f0BnJ+gSE50qJv7H2C njvWCs10HxWEElKDxKtwJfZjFIXnGi4tPfPO7nv+C26IxgjEYDS0aRWQwBeEw4SdcBoQ P9aA== X-Received: by 10.112.200.100 with SMTP id jr4mr2370299lbc.36.1381335158842; Wed, 09 Oct 2013 09:12:38 -0700 (PDT) MIME-Version: 1.0 Received: by 10.112.97.227 with HTTP; Wed, 9 Oct 2013 09:12:18 -0700 (PDT) In-Reply-To: <1381326796412-7585114.post@n2.nabble.com> References: <1381263500878-7585102.post@n2.nabble.com> <1381325991670-7585113.post@n2.nabble.com> <1381326796412-7585114.post@n2.nabble.com> From: Kevin Sutter Date: Wed, 9 Oct 2013 11:12:18 -0500 Message-ID: Subject: Re: Supposed concurrent access issue to PCPath instance To: dev@openjpa.apache.org Content-Type: multipart/alternative; boundary=001a11c373e67569e804e8512739 X-Virus-Checked: Checked by ClamAV on apache.org --001a11c373e67569e804e8512739 Content-Type: text/plain; charset=ISO-8859-1 In general, I would say it's not possible for PCPath to be shared by multiple threads. There could be a bug here, but we're not aware of one. Just for giggles, can you run with openjpa.Mulithreaded set to true and let us know the results. Thanks, Kevin On Wed, Oct 9, 2013 at 8:53 AM, givanildo.alves wrote: > As a complement to my previous post, one question: in a scenario where each > thread has its own EntityManager instance, is it possible for a PCPath > instance be shared by multiple threads ? > > Thanks > > > > -- > View this message in context: > http://openjpa.208410.n2.nabble.com/Supposed-concurrent-access-issue-to-PCPath-instance-tp7585102p7585114.html > Sent from the OpenJPA Developers mailing list archive at Nabble.com. > --001a11c373e67569e804e8512739--