Re: Re-using an existing jdbc connection?

2008-07-12 Thread Hiran Chaudhuri
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

Re: Re-using an existing jdbc connection?

2008-07-07 Thread justin_grunau
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

Re: Re-using an existing jdbc connection?

2008-07-03 Thread Patrick Linskey
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

Re: Re-using an existing jdbc connection?

2008-07-02 Thread Pinaki Poddar
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

Re: Re-using an existing jdbc connection?

2008-07-02 Thread justin_grunau
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.

Re: Re-using an existing jdbc connection?

2008-07-02 Thread Pinaki Poddar
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.

Re-using an existing jdbc connection?

2008-07-01 Thread justin_grunau
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