Join Slack
(remembering that `@Transactional` depends on an exception being thrown to rollback the transaction,...
# arrow
p
Pedro Sena
06/15/2021, 5:15 PM
(remembering that
@Transactional
depends on an exception being thrown to rollback the transaction, which does not happen because I wrap the exception on
Left
)
r
raulraja
06/16/2021, 8:11 AM
Hi Pedro, you may be able to do something similar to what
https://gist.github.com/nomisRev/b6aced8ce552ae718791e187ebd6cdd4
does with sqldelight if you have programatic access to the transaction apis in micronaut (never used it so not sure how it works)
p
Pedro Sena
06/16/2021, 2:29 PM
Hi Raul, Yeah, I checked this code snippet recently, I'll give a try on how to integrate that with micronaut-data
r
raulraja
06/17/2021, 10:09 AM
if you get it working would love to see what it ends up looking like :)
👍 1
5
Views
Open in Slack
Previous
Next
kotlinlang
A modern programming language that makes developers happier.
Powered by