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?
> 
> 
> 




-----
--
Regards
Mohammad
http://pixelshot.wordpress.com Pixelshot 
-- 
View this message in context: 
http://n2.nabble.com/EntityManager-dosn-t-release-connection-in-XA-transactions-tp4205041p4207605.html
Sent from the OpenJPA Users mailing list archive at Nabble.com.

Reply via email to