Wednesday, May 11, 2005

Derby v. Locking

I added a little DB cleanup query to the end of the monitor-checking code. But it kept blowing up with a "couldn't get a lock" error. I fixed the problem by calling conn.setAutoCommit(true); on every connection.

No comments: