cn.sylinx.hbatis.plugin.transaction.TransactionIsolationWrapper Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of hbatis-core Show documentation
Show all versions of hbatis-core Show documentation
hbatis is a simple orm framework
The newest version!
package cn.sylinx.hbatis.plugin.transaction;
import java.sql.Connection;
public enum TransactionIsolationWrapper {
ME;
private int transactionIsolation = Connection.TRANSACTION_READ_COMMITTED;
void setTransactionIsolation(int transactionIsolation) {
this.transactionIsolation = transactionIsolation;
}
public int getTransactionIsolation() {
return this.transactionIsolation;
}
}