2004.04.29


com.jdc.rdb.sql.dml.clause
Class IsolationLevel

java.lang.Object
  |
  +--jdc.java.lang.Object
        |
        +--com.jdc.rdb.sql.dml.clause.IsolationLevel

public class IsolationLevel
extends Object

IsolationLevel provides a list of enumerated types for a With clause Database isolation level. Valid With clause Database isolation levels are:

Note:
These Database isolation levels are applicable to IBM® DB2 Universal Database™  only.

Version:
2.0
Author:
Jay Damon
See Also:
With, Serialized Form

Field Summary
static IsolationLevel CURSOR_STABILITY
          Identifies a CURSOR STABILITY isolation level.
static IsolationLevel READ_STABILITY
          Identifies a READ STABILITY isolation level.
static IsolationLevel REPEATABLE_READ
          Identifies a REPEATABLE READ isolation level.
static IsolationLevel UNCOMMITTED_READ
          Identifies an UNCOMMITTED READ isolation level.
 
Method Summary
 boolean equals(Object object)
          Compares this IsolationLevel object to the specified object.
 String getName()
          Returns a String name for this IsolationLevel object.
 String toString()
          Returns a String representation of this IsolationLevel object.
static IsolationLevel valueOf(String isolationLevel)
          Returns a IsolationLevel representation of this String value.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

UNCOMMITTED_READ

public static final IsolationLevel UNCOMMITTED_READ
Identifies an UNCOMMITTED READ isolation level.


CURSOR_STABILITY

public static final IsolationLevel CURSOR_STABILITY
Identifies a CURSOR STABILITY isolation level.


READ_STABILITY

public static final IsolationLevel READ_STABILITY
Identifies a READ STABILITY isolation level.


REPEATABLE_READ

public static final IsolationLevel REPEATABLE_READ
Identifies a REPEATABLE READ isolation level.

Method Detail

equals

public boolean equals(Object object)
Compares this IsolationLevel object to the specified object.

Returns:
True if a specified object is equal to this IsolationLevel object.
False if the specified object is not equal to this IsolationLevel object.

getName

public String getName()
Returns a String name for this IsolationLevel object.

Returns:
A String name for this IsolationLevel object.

toString

public String toString()
Returns a String representation of this IsolationLevel object.

Returns:
A String representation of this IsolationLevel object.

valueOf

public static IsolationLevel valueOf(String isolationLevel)
Returns a IsolationLevel representation of this String value.

Returns:
A IsolationLevel representation of this String value.

2004.04.29



Copyright © 2004 J. Damon & Co.; All Rights Reserved WorldWide.