Is there any way to notify rollback-on-commit in quarkus-hibernate-orm in multitenancy DATABASE mode?

403 views Asked by At

Currently, quarkus only supports multiple datasources for JDBC and the Agroal extension as is stated in the document.

However, the Agroal extension (with narayana-agroal) does not notify any rollback-on-commit Exception to the application code, although some JDBC Driver throws SQLException which indicates the DB was rolled back on commit phase including Google Cloud Spanner JDBC driver. This makes impossible to handle the rollback properly (e.g. return error code to the client).

Is there any solution to detour this problem? Thanks!

0

There are 0 answers