I'm trying to set-up Bitronix in Spring Boot to use last resource gambit with non-XA datasource. Of course by default (autoconfiguration) data source does not participate in XA transaction.
It seems that org.springframework.boot.jta.XADataSourceWrapper
will work only for XADataSource
.
How to connect DataSource
with Bitronix?
org.springframework.boot.jta.XADataSourceWrapper
will wrap it up with Bitronix's connection poolorg.springframework.boot.jta.bitronix.PoolingDataSourceBean
, right? – Woollen