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
Copy code
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?