List of usage examples for org.hibernate.engine.transaction.jta.platform.internal NoJtaPlatform INSTANCE
NoJtaPlatform INSTANCE
To view the source code for org.hibernate.engine.transaction.jta.platform.internal NoJtaPlatform INSTANCE.
Click Source Link
From source file:com.amalto.core.storage.JTAProvider.java
License:Open Source License
@Override public JtaPlatform getProvidedJtaPlatform() { /*//from w w w. jav a2 s.c o m * MDM does not provide/use any TM, however endorsed libraries (for Bonita) may wrongly indicate to Hibernate * that a TM is available. Code below ensures JTA is always disabled. */ if (LOGGER.isDebugEnabled()) { LOGGER.debug("Disabling JTA support."); } return NoJtaPlatform.INSTANCE; }