db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Barnet Wagman <b.wag...@comcast.net>
Subject Re: Does jdbc commit() return before the transaction is complete?
Date Thu, 03 Feb 2005 16:40:12 GMT
Satheesh Bandaram wrote:

> Yes, once your commit() returns, you can be sure your transaction is 
> complete. Derby does most of the work using the user thread that 
> invokes a JDBC request. There are some background threads, like the 
> postCommit thread, but these should be transparent to users.
> If you can monitor which thread is actually running during the lockup 
> period, that might help ..
Thanks, that helped.  The problem was not related to Derby (it actually 
had to do with Java garbage collection).

View raw message