You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
EXCEPTION: org.sqlite.SQLiteException: [SQLITE_LOCKED] A table in the database is locked (database table is locked) at org.sqlite.core.DB.newSQLException(DB.java:909) at org.sqlite.core.DB.newSQLException(DB.java:921) at org.sqlite.core.DB.execute(DB.java:822) at org.sqlite.core.CoreStatement.exec(CoreStatement.java:75) at org.sqlite.jdbc3.JDBC3Statement.execute(JDBC3Statement.java:61)
The text was updated successfully, but these errors were encountered:
CODE:
public static void dropTable(Connection conn, String tableName) throws SQLException { try (Statement statement = conn.createStatement()) { statement.execute("DROP TABLE " + tableName); } }
EXCEPTION:
org.sqlite.SQLiteException: [SQLITE_LOCKED] A table in the database is locked (database table is locked) at org.sqlite.core.DB.newSQLException(DB.java:909) at org.sqlite.core.DB.newSQLException(DB.java:921) at org.sqlite.core.DB.execute(DB.java:822) at org.sqlite.core.CoreStatement.exec(CoreStatement.java:75) at org.sqlite.jdbc3.JDBC3Statement.execute(JDBC3Statement.java:61)
The text was updated successfully, but these errors were encountered: