| Package | Description |
|---|---|
| com.avaje.ebean |
Core API (see EbeanServer and Ebean).
|
| Modifier and Type | Method and Description |
|---|---|
static TxIsolation |
TxIsolation.fromLevel(int connectionIsolationLevel)
Return the TxIsolation given the java.sql.Connection isolation level.
|
TxIsolation |
TxScope.getIsolation()
Return the Isolation level this transaction should run with.
|
static TxIsolation |
TxIsolation.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TxIsolation[] |
TxIsolation.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
static Transaction |
Ebean.beginTransaction(TxIsolation isolation)
Start a transaction additionally specifying the isolation level.
|
Transaction |
EbeanServer.beginTransaction(TxIsolation isolation)
Start a transaction additionally specifying the isolation level.
|
Transaction |
EbeanServer.createTransaction(TxIsolation isolation)
Create a new transaction additionally specifying the isolation level.
|
TxScope |
TxScope.setIsolation(TxIsolation isolation)
Set the transaction isolation level this transaction should run with.
|
Copyright © 2016. All rights reserved.