OpenJPA - Transaction management is not available… (Fuse ESB)
问题 I'm having trouble with RESOURCE_LOCAL transaction type for JPA in Fuse ESB. I also don't have a complete understanding of whether JTA or RESOURCE_LOCAL is better for me. My persistence.xml : <persistence-unit name="invoicePersistence" transaction-type="RESOURCE_LOCAL"> <provider>org.apache.openjpa.persistence.PersistenceProviderImpl</provider> <jta-data-source>osgi:service/javax.sql.DataSource/(osgi.jndi.service.name=jdbc/invDataSource)</jta-data-source> <non-jta-data-source>osgi:service