openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pinaki Poddar <>
Subject Re: Re-using an existing jdbc connection?
Date Wed, 02 Jul 2008 22:30:53 GMT

  If OpenJPA is invoked in a managed transaction context,
EntityManager.joinTransaction() will make OpenJPA join the existing
  If there is no managed transaction then you can use a bound the existing
JDBC connection to a thread and make OpenJPA use it instead of opening one
on its own.

View this message in context:
Sent from the OpenJPA Users mailing list archive at

View raw message