パッケージ org.nkjmlab.sorm4j
インタフェース TransactionFunction
-
- 既知のサブインタフェースのリスト:
OrmConnection,OrmConnectionCommon,OrmTransaction,TypedOrmConnection<T>,TypedOrmTransaction<T>
public interface TransactionFunctionFunctions of handling transaction.- 作成者:
- nkjm
-
-
メソッドの概要
すべてのメソッド インスタンス・メソッド abstractメソッド 修飾子とタイプ メソッド 説明 voidbegin()Begin transaction.voidbegin(int isolationLevel)Begins transaction with the given transaction isolation level.voidclose()Closes theConnectionassociated with this instance.voidcommit()Commits theConnectionassociated with this instance.voidrollback()Rollback theConnectionassociated with this instance.voidsetAutoCommit(boolean autoCommit)Sets the auto commit behavior for theConnectionassociated with this instance.
-
-
-
メソッドの詳細
-
begin
void begin()
Begin transaction. The isolation level is corresponding toSormContext.getTransactionIsolationLevel().
-
begin
void begin(int isolationLevel)
Begins transaction with the given transaction isolation level.- パラメータ:
isolationLevel-
-
close
void close()
Closes theConnectionassociated with this instance.- 関連項目:
Connection.close()
-
commit
void commit()
Commits theConnectionassociated with this instance.- 関連項目:
Connection.commit()
-
rollback
void rollback()
Rollback theConnectionassociated with this instance.- 関連項目:
Connection.rollback()
-
setAutoCommit
void setAutoCommit(boolean autoCommit)
Sets the auto commit behavior for theConnectionassociated with this instance.
-
-