openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From is_maximum <>
Subject Re: EntityManager dosn't release connection in XA transactions
Date Wed, 23 Dec 2009 07:54:50 GMT

I attached our sample project to the last post. 
And... we don't use native sql. we always use EntityManager and the
DataSource in above example is only to test if this is the EM issue.

Pinaki Poddar wrote:
> The code does not show when/where the connections are released ... neither
> the method that uses native SQL nor the method that uses EntityManager
> (for which the app server should manage connection reuse/pooling). 
> Are you sure it is not the native SQL method that is leaking the
> connections?

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

View raw message