wal and shm temporary files are not deleted when connection is read only

Issue #225 new
Former user created an issue

When setting connection to read only, retrieving some data and then closing connection, temporary files are not deleted: String databaseURL = "jdbc:sqlite:d:\tmp\mydatabase.sqlite"; Class.forName("org.sqlite.JDBC"); SQLiteConfig config = new SQLiteConfig(); config.setReadOnly(true); Connection connection = DriverManager.getConnection(databaseURL,config.toProperties()); Statement statement = connection.createStatement(); ResultSet resultSet = statement.executeQuery("select * from customer"); resultSet.close(); statement.close(); connection.close();

Comments (0)

  1. Log in to comment