You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openjpa.apache.org by "Hans J. Prueller" <ha...@gmx.net> on 2007/03/29 06:59:36 UTC

RE: WARNING: Connection not closed by caller - messagesproducedbyOpenJPA?

Am Mittwoch, den 28.03.2007, 13:30 -0700 schrieb Patrick Linskey:

> Are you ever sharing EMs across multiple sequential JTA transactions?


As far as I can say: definitely NO. But the EMF used to create the EM's
is held as a static member of a Helper Class.
I.e. 2 different threads accessing the EMF to create the EM in parallel
could be the cause of the problem?

Hans

RE: WARNING: Connection not closed by caller -messagesproducedbyOpenJPA?

Posted by Patrick Linskey <pl...@bea.com>.
> I.e. 2 different threads accessing the EMF to create the EM 
> in parallel could be the cause of the problem?

That should not be a problem.

-Patrick

-- 
Patrick Linskey
BEA Systems, Inc. 

_______________________________________________________________________
Notice:  This email message, together with any attachments, may contain
information  of  BEA Systems,  Inc.,  its subsidiaries  and  affiliated
entities,  that may be confidential,  proprietary,  copyrighted  and/or
legally privileged, and is intended solely for the use of the individual
or entity named in this message. If you are not the intended recipient,
and have received this message in error, please immediately return this
by email and then delete it. 

> -----Original Message-----
> From: Hans J. Prueller [mailto:hans.prueller@gmx.net] 
> Sent: Wednesday, March 28, 2007 10:00 PM
> To: open-jpa-dev@incubator.apache.org
> Subject: RE: WARNING: Connection not closed by caller 
> -messagesproducedbyOpenJPA?
> 
> Am Mittwoch, den 28.03.2007, 13:30 -0700 schrieb Patrick Linskey:
> 
> 
> 	Are you ever sharing EMs across multiple sequential JTA 
> transactions?
> 	
> 
> 
> As far as I can say: definitely NO. But the EMF used to 
> create the EM's is held as a static member of a Helper Class.
> I.e. 2 different threads accessing the EMF to create the EM 
> in parallel could be the cause of the problem?
> 
> Hans 
> 

Notice:  This email message, together with any attachments, may contain information  of  BEA Systems,  Inc.,  its subsidiaries  and  affiliated entities,  that may be confidential,  proprietary,  copyrighted  and/or legally privileged, and is intended solely for the use of the individual or entity named in this message. If you are not the intended recipient, and have received this message in error, please immediately return this by email and then delete it.