public static enum OracleConnection.DRCPState extends Enum<OracleConnection.DRCPState>
| Enum Constant and Description |
|---|
ATTACHED_EXPLICIT
The connection is attached after making an explict request for a tagged server process.
|
ATTACHED_IMPLICIT
The connection is attached after making an implicit request for a server process.
|
DETACHED
The connection is not attached to a server process.
|
| Modifier and Type | Method and Description |
|---|---|
static OracleConnection.DRCPState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OracleConnection.DRCPState[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared.
|
public static final OracleConnection.DRCPState DETACHED
public static final OracleConnection.DRCPState ATTACHED_IMPLICIT
An implicit request occurs when a detached connection makes a round trip to the database.
Note that a connection can remain detached even after calling OracleConnection.attachServerConnection(). attachServerConnection only performs an explict attach when a tag has been set via OracleConnection.detachServerConnection(java.lang.String) or OracleConnection.CONNECTION_PROPERTY_DRCP_TAG_NAME
public static final OracleConnection.DRCPState ATTACHED_EXPLICIT
public static OracleConnection.DRCPState[] values()
for (OracleConnection.DRCPState c : OracleConnection.DRCPState.values())
System.out.println(c);
public static OracleConnection.DRCPState valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is null