Hi Romain!

Thanks for the hints.
If both jta- and non-jta-datasources are defined and referenced in
persistence.xml all works fine.

Maybe you are interested in behaviour for different settings in
persistence.xml:
- Only jta-datasources are set and property openjpa.jdbc.SchemaFactory is
set: problem occurs as described above
- Only non-jta-datasources are set and property openjpa.jdbc.SchemaFactory
is set: problem occurs as described above
- Only jta-datasources are set and no property openjpa.jdbc.SchemaFactory:
works as expected
- Only non-jta-datasources are set and no property
openjpa.jdbc.SchemaFactory: similar (not same) problem occurs as described
above

Best regards,
Thomas



--
View this message in context: 
http://tomee-openejb.979440.n4.nabble.com/Multiple-EntityManager-using-wrong-Oracle-DataSource-tp4677399p4677404.html
Sent from the TomEE Dev mailing list archive at Nabble.com.

Reply via email to