1. Taro L. Saito
  2. sqlite-jdbc
  3. Issues
Issue #34 resolved

SQLite in memory database shared cache and multiple connections

Grace Batumbya
created an issue

Hi, I've got the following code: Class.forName("org.sqlite.JDBC");

     SQLiteConfig config = new SQLiteConfig();

     conn = DriverManager.getConnection("jdbc:sqlite::memory:", config.toProperties());

I can't seem to get multiple connections to the same in memory database. It just seems to make a new one every time. I've done this with the C API, is this possible with Xerial?

Thanks Daine

Comments (4)

  1. Log in to comment