Checking pax-jdbc, it seems you can switch to
https://github.com/ops4j/org.ops4j.pax.jdbc/blob/master/pax-jdbc-pool-c3p0/src/main/java/org/ops4j/pax/jdbc/pool/c3p0/impl/ds/C3p0XAPooledDataSourceFactory.java
Am Di., 17. März 2020 um 09:48 Uhr schrieb Philipp Marx <
smi...@googlemail.com>:
Hi Christian,
I had the same problem. What you need to ensure is to use a ConnectionPool
which does support XAConnections / XADataSources.It is important that the
interface of the Connection Pool datasource implements XADataSource. The
only pool I have found which does support this is commons DBCP
Hi Timothy,
thanks for your answer, this makes sense. I still have another question
though:
If I inject the EntityManager via Blueprint into my OSGi-service and I have
multiple clients of this service calling it, don't I have to re-create a
new EntityManager for each request?
I have tried to inj
Hi,
I have a question related to JTA (in JPA) context and SCR:
Is it possible to use the container managed transactions also with SCR/DS?
Or is this only possible via Blueprint?
Furthermore is there any Annotation support for the managing transactions
or must this be done via the Blueprint XML?