Exposed 0.17.4 released with critical fix related...
# exposed
t
Exposed 0.17.4 released with critical fix related to transaction isolation. Please update.
👍 2
j
Tried to bump version to 0.17.5 ... now I'm getting a bunch of "SQLite supports only TRANSACTION_SERIALIZABLE and TRANSACTION_READ_UNCOMMITTED." in my tests. So I had to update my sqlite specific code to this :
Copy code
fun sqliteConnect(url: String): Database {
    val dataSource = SQLiteDataSource()
    dataSource.url = url
    dataSource.config = SQLiteConfig()
    dataSource.setEnforceForeignKeys(true)
    return Database.connect(dataSource).apply {
        this.transactionManager.defaultIsolationLevel = java.sql.Connection.TRANSACTION_READ_UNCOMMITTED
    }
}
t
I'll check it, thnx