quarkusio / quarkus

Quarkus: Supersonic Subatomic Java.
https://quarkus.io
Apache License 2.0
13.78k stars 2.68k forks source link

Reactive panache nested transaction error #15918

Closed jtama closed 1 month ago

jtama commented 3 years ago

Describe the bug

As of today, reactive panache nested transactions always trigger exception.

Expected behavior

When in a nested transaction panache should :

To Reproduce

Reproducer can be found on https://github.com/jtama/quarkus-rent/tree/nested-transaction.

  1. Run postgresql containeur (docker compose file available
  2. Run application
  3. curl -v -X POST "http://localhost:8080/api/hostels" -H "X-user-name: Joe" -H "X-user-roles: USER,ADMIN" -H "Content-Type: application/json" -d "{ \"id\": 0, \"name\": \"Ritz\"}"

Environment (please complete the following information):

Darwin Kernel Version 20.3.0

OpenJDK Runtime Environment AdoptOpenJDK (build 14+36)

1.12.2.Final

Apache Maven 3.6.3

quarkus-bot[bot] commented 3 years ago

/cc @FroMage, @loicmathieu

jtama commented 3 years ago

Happy to help on this.

geoand commented 1 month ago

Is this still an issue?

jtama commented 1 month ago

I have to say I have absolutly no idea.

geoand commented 1 month ago

Let's close for now and if we find it's still an issue, we can reopen

jtama commented 1 month ago

Absolutely, If I was the only one to report in 4 years...

geoand commented 1 month ago

👌