hareesh_84 wrote:In the future JDBC related questions should be posted into the JDBC forum. Taking the time to ensure your question is posted into the right forum increases your chances of getting better answers more quickly.
In my application I am using batch updation for inserting values into database. But I am getting the following exception.
java.sql.BatchUpdateException: Lock wait timeout exceeded; try restarting transaction
hareesh_84 wrote:Lock the connection?
Yes. If I lock the Connection object, will this problem get solved ?