java.sql.SQLException: database locked

Posted by rajkumari on Stack Overflow See other posts from Stack Overflow or by rajkumari
Published on 2010-04-05T13:36:11Z Indexed on 2010/04/05 13:53 UTC
Read the original article Hit count: 266

Filed under:
|

Hello

We are using sqllite056 jar in our code. While inserting into database in batch we are getting exception on line when we going to commit.

Lines of Code

<object of Connection> .commit(); <object of Connection>.setAutoCommit(true);

Exception

java.sql.SQLException: database locked

© Stack Overflow or respective owner

Related posts about java

Related posts about sqllite