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

    Constructors
    Constructor and Description
    `DbIsolation()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `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`