Relative Content

Tag Archive for javajpatransactionsquarkus

global Exception Handler overrules database transaction handler

Iam sort of stuck at a particular funny error in a quarkus REST-service that Iam currently developing.
My appplication manages panache entities and I implemented some CRUD operations in a resource controller.
I annotated that controller with @Transactional(like the documentation suggest) and for good measure I added a global exception handler which looks roughly like the following snippet: