public static enum ConnectionPoolConnection.OpenStatementPolicy extends java.lang.Enum<ConnectionPoolConnection.OpenStatementPolicy>
| Enum Constant and Description |
|---|
NONE
Don't track open statements.
|
REPORT
Closes statements and raises an application exception.
|
SILENT
Closes statements silently, only reporting exceptions if they happen during statement close.
|
| Modifier and Type | Method and Description |
|---|---|
static ConnectionPoolConnection.OpenStatementPolicy |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ConnectionPoolConnection.OpenStatementPolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConnectionPoolConnection.OpenStatementPolicy NONE
public static final ConnectionPoolConnection.OpenStatementPolicy SILENT
public static final ConnectionPoolConnection.OpenStatementPolicy REPORT
public static ConnectionPoolConnection.OpenStatementPolicy[] values()
for (ConnectionPoolConnection.OpenStatementPolicy c : ConnectionPoolConnection.OpenStatementPolicy.values()) System.out.println(c);
public static ConnectionPoolConnection.OpenStatementPolicy valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null