lock « db2 « Java Database Q&A





1. Sharing a Java synchronized block across a cluster, or using a global lock?    stackoverflow.com

I have some code that I want to only allow access to by one thread. I know how to accomplish this using either synchronized blocks or methods, but will this ...

2. How to change the lock timeout in db2?    stackoverflow.com

I am getting Lock-acquisitionexception when I am running my Application on DB2, so i am suspecting the lock time needs to be changed. So how can I change the same? Or ...

3. db2 locks with db visualizer    coderanch.com

Hi, In the J2EE project I work now we are using DB2 databases and we interact with them through DB Visualizer 4.1, with auto-commit set to true. Third parties in the project said that we are causing tables locking problems due to the fact that we are using DB Visualizer. They say we should use the command line (db2 console prompt) ...