Package org.ofbiz.core.entity
Class TransactionFactory
java.lang.Object
org.ofbiz.core.entity.TransactionFactory
TransactionFactory - central source for JTA objects
- Since:
- 2.0
- Version:
- $Revision: 1.1 $
- Author:
- David E. Jones
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ConnectiongetConnection(String helperName) static TransactionFactoryInterfacestatic javax.transaction.TransactionManagerstatic Stringstatic javax.transaction.UserTransaction
-
Constructor Details
-
TransactionFactory
public TransactionFactory()
-
-
Method Details
-
getTransactionFactory
-
getTransactionManager
public static javax.transaction.TransactionManager getTransactionManager() -
getUserTransaction
public static javax.transaction.UserTransaction getUserTransaction() -
getTxMgrName
-
getConnection
public static Connection getConnection(String helperName) throws SQLException, GenericEntityException - Throws:
SQLExceptionGenericEntityException
-