Exposed
Exposed copied to clipboard
Kopi and Exposed compatibility
The framework Kopi is similar to Exposed in the way that it runs sql statement inside a transaction and it supports many database dialects.
Inorder to migrate progressively our applications written with Kopi to Exposed, we want to be able to run Exposed statements inside Kopi transactions.
Is it possible to achive this? If yes could you provide some guidelines?
PS:
- At the end of the transaction, the kopi transaction performs commit/rollback and closes the connection.
- Kopi transaction can provide java.sql.Connection to Exposed transaction.
- We don't need to have nested transactions.