com.atlassian.core.ofbiz.util
Class CoreTransactionUtil
java.lang.Object
com.atlassian.core.ofbiz.util.CoreTransactionUtil
public class CoreTransactionUtil
- extends Object
This class is a simple wrapper around OFBiz TransactionUtil class.
You can set JIRA to use transactions or not with the useTransactions flag.
This was taken from atlassian-ofbiz and placed into its now rightful home of JIRA.
- Since:
- 4.3
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CoreTransactionUtil
public CoreTransactionUtil()
begin
public static boolean begin()
throws org.ofbiz.core.entity.GenericTransactionException
- Throws:
org.ofbiz.core.entity.GenericTransactionException
commit
public static void commit(boolean began)
throws org.ofbiz.core.entity.GenericTransactionException
- Throws:
org.ofbiz.core.entity.GenericTransactionException
rollback
public static void rollback(boolean began)
throws org.ofbiz.core.entity.GenericTransactionException
- Throws:
org.ofbiz.core.entity.GenericTransactionException
setUseTransactions
public static void setUseTransactions(boolean useTransactions)
getIsolationLevel
public static int getIsolationLevel()
setIsolationLevel
public static void setIsolationLevel(int isolationLevel)
Copyright © 2002-2013 Atlassian. All Rights Reserved.