LOCAL « Transaction « JPA Q&A





1. "Local transaction already has 1 non-XA Resource: cannot add more resources" error    stackoverflow.com

After reading previous questions about this error, it seems like all of them conclude that you need to enable XA on all of the data sources. But:

  1. What if I don't want ...

2. Difference between a "jta-datasource" and a " resource-local " datasource?    stackoverflow.com

The terms "jta-datasource" and "resouce-local datasource" are a little vague to me. I'm putting down what I am understanding ( or assuming ) and I'd like you to say where I'm ...

3. JTA or LOCAL transactions in JPA2+Hibernate 3.6.0?    stackoverflow.com

We are in the process of re-thinking our tech stack and below are our choices (We can't live without Spring and Hibernate due to the complexity etc of the app). We ...

4. How do I tell if my EntityManager is using JTA or RESOURCE_LOCAL datasource?    stackoverflow.com

I have a utility class as shown below. I want to be able to use this class with either RESOURCE_LOCAL or JTA persistence units. If I change the persistence.xml ...