Hi, If OpenJPA is invoked in a managed transaction context, EntityManager.joinTransaction() will make OpenJPA join the existing transaction. 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: http://n2.nabble.com/Re-using-an-existing-jdbc-connection--tp210696p219975.html Sent from the OpenJPA Users mailing list archive at Nabble.com.