wouterdoeland
01/23/2018, 5:16 PMorg.h2.jdbc.JdbcSQLException: The object is already closed
is thrown. At:
val map = transaction { loggedRequest.parameters } // throws exception
val map = transaction { loggedRequest.method } // doesn't throw exception
For:
object ApiLogs : IntIdTable() {
...
val parameters = text("parameters")
val method = varchar("method", 191)
...
}
class ApiLog(id: EntityID<Int>) : IntEntity(id) {
companion object : IntEntityClass<ApiLog>(ApiLogs)
...
var parameters by ApiLogs.parameters
var method by ApiLogs.method
...
}
tapac
01/23/2018, 6:05 PMwouterdoeland
01/23/2018, 6:59 PMtapac
01/24/2018, 12:04 PM