Closed andrewazores closed 5 months ago
I don't think this annotation will work as intended, since this method is not an "entrypoint" that the Quarkus framework calls into but rather one that is invoked from other application code.
https://quarkus.io/guides/transaction#programmatic-approach
I think this example is probably suitable:
QuarkusTransaction.joiningExisting().run(() -> { //do work });
_Originally posted by @andrewazores in https://github.com/cryostatio/cryostat3/pull/325#discussion_r1577975160_
Related #389
https://quarkus.io/guides/transaction#programmatic-approach
I think this example is probably suitable:
_Originally posted by @andrewazores in https://github.com/cryostatio/cryostat3/pull/325#discussion_r1577975160_
Related #389