| Modifier and Type | Field and Description |
|---|---|
| public static final long | |
| public static final long | |
| public static final long | |
| public static final long |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | Returns: state of adaptive fetch (turned on or off)Get state of adaptive fetch for statement. |
| public long | |
| public int | Returns: the current thresholdGets the server-side prepare reuse threshold in use for this statement. |
| public boolean | Returns: true if the next reuse of this statement will use a server-prepared statementChecks if this statement will be executed as a server-prepared statement. |
| public void | setAdaptiveFetch(boolean
desired state of adaptive fetch. adaptiveFetch)Turn on/off adaptive fetch for statement. |
| public void | setPrepareThreshold(int
the new threshold for this statement threshold)Sets the reuse threshold for using server-prepared statements. |
| public void | setUseServerPrepare(boolean
use server prepare flag)
Deprecated
As of build 302, replaced by
setPrepareThreshold(int)
Turn on the use of prepared statements in the server (server side prepared statements are
unrelated to jdbc PreparedStatements) As of build 302, this method is equivalent to
|
| DATE_NEGATIVE_INFINITY | back to summary |
|---|---|
| public static final long DATE_NEGATIVE_INFINITY | |
| DATE_NEGATIVE_SMALLER_INFINITY | back to summary |
|---|---|
| public static final long DATE_NEGATIVE_SMALLER_INFINITY | |
| DATE_POSITIVE_INFINITY | back to summary |
|---|---|
| public static final long DATE_POSITIVE_INFINITY | |
| DATE_POSITIVE_SMALLER_INFINITY | back to summary |
|---|---|
| public static final long DATE_POSITIVE_SMALLER_INFINITY | |
| getAdaptiveFetch | back to summary |
|---|---|
| public boolean getAdaptiveFetch() Get state of adaptive fetch for statement.
| |
| getLastOID | back to summary |
|---|---|
| public long getLastOID() throws SQLException Returns the Last inserted/updated oid.
| |
| getPrepareThreshold | back to summary |
|---|---|
| public int getPrepareThreshold() Gets the server-side prepare reuse threshold in use for this statement.
| |
| isUseServerPrepare | back to summary |
|---|---|
| public boolean isUseServerPrepare() Checks if this statement will be executed as a server-prepared statement. A return value of
| |
| setAdaptiveFetch | back to summary |
|---|---|
| public void setAdaptiveFetch(boolean adaptiveFetch) Turn on/off adaptive fetch for statement. Existing resultSets won't be affected by change here.
| |
| setPrepareThreshold | back to summary |
|---|---|
| public void setPrepareThreshold(int threshold) throws SQLException Sets the reuse threshold for using server-prepared statements. If If The reuse threshold is only used by PreparedStatement and CallableStatement objects; it is ignored for plain Statements.
| |
| setUseServerPrepare | back to summary |
|---|---|
| public void setUseServerPrepare(boolean flag) throws SQLException
Deprecated As of build 302, replaced by Turn on the use of prepared statements in the server (server side prepared statements are
unrelated to jdbc PreparedStatements) As of build 302, this method is equivalent to
| |