Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kopi and Exposed compatibility #1501

Open
hfazai opened this issue Apr 25, 2022 · 0 comments
Open

Kopi and Exposed compatibility #1501

hfazai opened this issue Apr 25, 2022 · 0 comments

Comments

@hfazai
Copy link
Contributor

hfazai commented Apr 25, 2022

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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant