I am trying to disable auto-commit for the Quarkus-provided datasource. That is, to have this:
@Inject
javax.sql.DataSource ds;
with auto-commit disabled.
Given that I am using quarkus-hibernate-orm
the actual datasource implementation is Agroal which supports disabling auto-commit through its connection factory.
It seems that the missing part is gluing logic in DataSources which would bind the application.properties
with the connection factory above.
Am I missing something?