@untwisted It's supposed to, but it fails because a connection is required for mapping certain column types (things like arrays). At the moment, the workaround is to wrap the DAO operation in a transaction. e.g.
Copy code
val session = ThreadLocalSession(testDataSource, HsqlDialect())
val dao = FilmDao(session)
session.transaction {
dao.insert(Film(1))
}
val all = dao.findAll()