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
版权声明:本文标题:quarkus - Unable to disable auto-commit for datasource - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1741924241a2405188.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论