Endre Deak
05/10/2022, 3:20 PMtransaction {
SchemaUtils.setSchema(tenantSchema)
val result = // do my db thing
SchemaUtils.setSchema(defaultSchema)
return result
}
I’ve tried to have specific Database
instance for each schema, but that makes connection pooling a lot more complex rather than having a single HikariCP connection pool.