Join Slack
Powered by
Has anyone successfully managed to share transacti...
# exposed
m
Maarten
06/13/2025, 1:55 PM
Has anyone successfully managed to share transactions between spring jpa and exposed? Running exposed within a JPA @Transactional function, I get the error that there's no transaction in context
b
Bogdan
06/13/2025, 8:44 PM
have you added a spring module?
https://www.jetbrains.com/help/exposed/exposed-modules.html#add-a-jdbc-driver
Bogdan
06/13/2025, 8:45 PM
Project example
https://github.com/JetBrains/Exposed/tree/main/samples/exposed-spring
Bogdan
06/13/2025, 8:47 PM
But that's just for the sake of annotation. If you mix Hibernate (or another JPA), it has its own transactions, and Exposed has its own separate ones.
10
Views
Open in Slack
Previous
Next