admin管理员组

文章数量:1313091

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?

本文标签: quarkusUnable to disable autocommit for datasourceStack Overflow