users@glassfish.java.net

Re: Separate Connection to Commit in JTA/CMT/Hibernate ...

From: <forums_at_java.net>
Date: Tue, 30 Aug 2011 22:46:41 -0500 (CDT)

 Does anyone have any solution or insight into this issue?

The glassfish seems to be committing in another connection, and this
effectively makes the 'update' statements to be blocked since the first
connection/thread is still waiting on the commit.

This, imo, is a critical issue that needs to be resolved..

The workaround is to call "flush()" before the API exits.


--
[Message sent by forum member 'tosehee']
View Post: http://forums.java.net/node/834885