<Kotlin + Spring Boot + SQLite save object instead...
# stackoverflow
u
Kotlin + Spring Boot + SQLite save object instead of statement.executeUpdate("...") I'm working on a project that uses Kotlin, Spring Boot and SQLite, the dependency I'm using is: org.xerial sqlite-jdbc 3.16.1 In this implementation Spring automatically scans for @Entity classes and creates the appropriate DB tables. Right now I'm saving entries in the Db as follows: var person= Person(0,"Bob") var connection: Connection = DriverManager.getConnection("jdbcsqlitetest/sqlitesample.db") var statement: Statement = connection.createStatement()...