public class LjtTransactionManagerUtil extends Object
TransactionManager用のユーティリティクラスです。| 修飾子 | コンストラクタと説明 |
|---|---|
protected |
LjtTransactionManagerUtil()
インスタンスを構築します。
|
| 修飾子とタイプ | メソッドと説明 |
|---|---|
static int |
getStatus(TransactionManager tm)
ステータスを返します。
|
static Transaction |
getTransaction(TransactionManager tm)
トランザクションを返します。
|
static boolean |
isActive(TransactionManager tm)
トランザクションがアクティブかどうか返します。
|
static void |
setRollbackOnly(TransactionManager tm)
ロールバックオンリーに設定します。
|
public static Transaction getTransaction(TransactionManager tm) throws LjtSystemRuntimeException
tm - トランザクションマネージャLjtSystemRuntimeException - SystemExceptionが発生した場合public static boolean isActive(TransactionManager tm)
tm - トランザクションマネージャpublic static int getStatus(TransactionManager tm) throws LjtSystemRuntimeException
tm - トランザクションマネージャLjtSystemRuntimeException - SystemExceptionが発生した場合public static void setRollbackOnly(TransactionManager tm) throws LjtSystemRuntimeException
tm - トランザクションマネージャLjtSystemRuntimeException - SystemExceptionが発生した場合Copyright © 2015 The DBFlute Project. All rights reserved.