Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.ode.utils
Class DbIsolation

    java.lang.Object
      org.apache.ode.utils.DbIsolation

    public class DbIsolation

extends java.lang.Object

Utility to set Ode-specific isolation level on DataSource connections.

Constructor Summary
`DbIsolation()`

Method Summary
`static int` | `getOdeIsolationLevel()`
`static void` | `setIsolationLevel(java.sql.Connection c)` Set Ode-specific isolation level on the connection, if needed.
`static void` | `setOdeIsolationLevel(int isolationLevel)`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### DbIsolation

    public DbIsolation()

Method Detail

### getOdeIsolationLevel

    public static int getOdeIsolationLevel()

### setOdeIsolationLevel

    public static void setOdeIsolationLevel(int isolationLevel)

### setIsolationLevel

    public static void setIsolationLevel(java.sql.Connection c)
                                  throws java.sql.SQLException

  Set Ode-specific isolation level on the connection, if needed.

  Throws:
    `java.sql.SQLException`

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD