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!