I have no idea what constitutes a "managed" transaction. This terminology
kind of smacks to me of EJB development, and we're not writing EJBs here,
but I guess I just don't know what you guys mean by "managed" in this
context.
'Managed' means that someone else manages the transaction, not your
07/03/2008 11:34 AM
Please respond to
users@openjpa.apache.org
To
users@openjpa.apache.org
cc
Subject
Re: Re-using an existing jdbc connection?
Hi,
What environment are you executing your code in? Is this a Java EE
app? The easiest way is to put a DataSource into JNDI, configure you
TECTED]>
07/02/2008 06:35 PM
Please respond to
users@openjpa.apache.org
To
users@openjpa.apache.org
cc
Subject
Re: Re-using an existing jdbc connection?
Hi,
If OpenJPA is invoked in a managed transaction context,
EntityManager.joinTransaction() will make OpenJPA join the existing
trans
own"? :-)
> Thanks a lot!!
>
>
>
>
>
>
>
>
> Pinaki Poddar <[EMAIL PROTECTED]>
> 07/02/2008 06:35 PM
> Please respond to
> users@openjpa.apache.org
>
>
> To
> users@openjpa.apache.org
> cc
>
> Subject
> Re: Re-u
02/2008 06:35 PM
Please respond to
users@openjpa.apache.org
To
users@openjpa.apache.org
cc
Subject
Re: Re-using an existing jdbc connection?
Hi,
If OpenJPA is invoked in a managed transaction context,
EntityManager.joinTransaction() will make OpenJPA join the existing
transaction.
its own.
--
View this message in context:
http://n2.nabble.com/Re-using-an-existing-jdbc-connection--tp210696p219975.html
Sent from the OpenJPA Users mailing list archive at Nabble.com.
Is it possible somehow to pass an already-existing jdbc connection (with a
transaction already in progress) into OpenJPA? Most of my application is
written in OpenJPA but I have to implement a feature that involves being
called with a transaction having started and with a database handle being