John O'Reilly
12/28/2021, 3:50 PMSqlNormalizedCacheFactory
and for JVM have following (injected using Koin)
single { SqlNormalizedCacheFactory("jdbc:sqlite:swapi.db") }
Running a main
function in JVM code and this works fine first time but on subsequent runs I get
Caused by: org.sqlite.SQLiteException: [SQLITE_ERROR] SQL error or missing database (table records already exists)
at org.sqlite.core.DB.newSQLException(DB.java:1012)
Is there some other init/config needed for case of JVM?mbonnin
12/28/2021, 7:48 PMJohn O'Reilly
12/28/2021, 11:25 PM