wouterdoeland
org.h2.jdbc.JdbcSQLException: The object is already closed
val map = transaction { loggedRequest.parameters } // throws exception
val map = transaction { loggedRequest.method } // doesn't throw exception
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
A modern programming language that makes developers happier.