public final class LockMode
extends java.lang.Object
| Modifier and Type | Field and Description | 
|---|---|
| static LockMode | DEFAULTAcquire read locks for read operations and write locks for write
    operations. | 
| static LockMode | DEGREE_2Deprecated. 
 This has been replaced by  READ_COMMITTEDto conform to ANSI
    database isolation terminology. | 
| static LockMode | DIRTY_READDeprecated. 
 This has been replaced by  READ_UNCOMMITTEDto conform to ANSI
    database isolation terminology. | 
| static LockMode | IGNORE_LEASESReturn the data item irrespective of the state of master leases. | 
| static LockMode | READ_COMMITTEDRead committed isolation provides for cursor stability but not repeatable
    reads. | 
| static LockMode | READ_UNCOMMITTEDRead modified but not yet committed data. | 
| static LockMode | RMWAcquire write locks instead of read locks when doing the retrieval. | 
| Modifier and Type | Method and Description | 
|---|---|
| java.lang.String | toString() | 
public static final LockMode DEFAULT
public static final LockMode READ_UNCOMMITTED
public static final LockMode READ_COMMITTED
    Note that this LockMode may only be passed to Database get
    methods, not to Cursor methods.  To configure a cursor for
    Read committed isolation, use CursorConfig.setReadCommitted(boolean).
public static final LockMode RMW
public static final LockMode DIRTY_READ
READ_UNCOMMITTED to conform to ANSI
    database isolation terminology.public static final LockMode DEGREE_2
READ_COMMITTED to conform to ANSI
    database isolation terminology.
    Note that this LockMode may only be passed to Database get
    methods, not to Cursor methods.  To configure a cursor for
    Read committed isolation, use CursorConfig.setReadCommitted(boolean).
        
public static final LockMode IGNORE_LEASES
Copyright (c) 2004,2014 Oracle. All rights reserved.