| Modifier and Type | Field and Description |
|---|---|
| public static final int | TRANSACTION_COMPLETED
Old SERVER_STATUS_IN_TRANS state was 1 and current one is 0. |
| public static final int | TRANSACTION_IN_PROGRESS
There was no change between old and current SERVER_STATUS_IN_TRANS state and it is 1. |
| public static final int | TRANSACTION_NOT_STARTED
There was no change between old and current SERVER_STATUS_IN_TRANS state and it is 0. |
| public static final int | TRANSACTION_STARTED
Old SERVER_STATUS_IN_TRANS state was 0 and current one is 1. |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | Returns: SERVER_STATUS_CURSOR_EXISTS status flag value.Server will only open a cursor and set this flag if it can, otherwise it punts and goes back to mysql_store_results() behavior. |
| public ServerCapabilities | |
| public CharsetSettings | |
| public long | |
| public TimeZone | Returns: The default JVM time zoneThe default time zone used to marshal date/time values to/from the server. |
| public default ServerSessionStateController | |
| public String | |
| public int | |
| public Map | |
| public ServerVersion | |
| public TimeZone | |
| public int | |
| public int | Returns: TRANSACTION_NOT_STARTED, TRANSACTION_IN_PROGRESS, TRANSACTION_STARTED or TRANSACTION_COMPLETED
|
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | Returns: true if lower_case_table_names is 'on'Is the server configured to use lower-case table names only? |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | Returns: true if the version of the MySQL server we are connected is the given versionthe version to check for version)Is the version of the MySQL server we are connected to the given version? |
| public boolean | |
| public boolean | |
| public boolean | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | setStatusFlags(int
server status flags statusFlags)Sets new server status (from response) without saving it's old state |
| public void | setStatusFlags(int
new server status flags statusFlags, boolean true if old server status flags should be preserved saveOldStatusFlags)Sets new server status (from response) |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean |
| TRANSACTION_COMPLETED | back to summary |
|---|---|
| public static final int TRANSACTION_COMPLETED Old SERVER_STATUS_IN_TRANS state was 1 and current one is 0. | |
| TRANSACTION_IN_PROGRESS | back to summary |
|---|---|
| public static final int TRANSACTION_IN_PROGRESS There was no change between old and current SERVER_STATUS_IN_TRANS state and it is 1. | |
| TRANSACTION_NOT_STARTED | back to summary |
|---|---|
| public static final int TRANSACTION_NOT_STARTED There was no change between old and current SERVER_STATUS_IN_TRANS state and it is 0. | |
| TRANSACTION_STARTED | back to summary |
|---|---|
| public static final int TRANSACTION_STARTED Old SERVER_STATUS_IN_TRANS state was 0 and current one is 1. | |
| cursorExists | back to summary |
|---|---|
| public boolean cursorExists() Server will only open a cursor and set this flag if it can, otherwise it punts and goes back to mysql_store_results() behavior.
| |
| getCapabilities | back to summary |
|---|---|
| public ServerCapabilities getCapabilities() | |
| getCharsetSettings | back to summary |
|---|---|
| public CharsetSettings getCharsetSettings() | |
| getClientParam | back to summary |
|---|---|
| public long getClientParam() | |
| getDefaultTimeZone | back to summary |
|---|---|
| public TimeZone getDefaultTimeZone() The default time zone used to marshal date/time values to/from the server. This is used when methods like getDate() are called without a calendar argument.
| |
| getServerSessionStateController | back to summary |
|---|---|
| public default ServerSessionStateController getServerSessionStateController() | |
| getServerVariable | back to summary |
|---|---|
| public String getServerVariable(String name) | |
| getServerVariable | back to summary |
|---|---|
| public int getServerVariable(String variableName, int fallbackValue) | |
| getServerVariables | back to summary |
|---|---|
| public Map | |
| getServerVersion | back to summary |
|---|---|
| public ServerVersion getServerVersion() Get the version of the MySQL server we are talking to.
| |
| getSessionTimeZone | back to summary |
|---|---|
| public TimeZone getSessionTimeZone() | |
| getStatusFlags | back to summary |
|---|---|
| public int getStatusFlags() | |
| getTransactionState | back to summary |
|---|---|
public int getTransactionState()
| |
| hasLongColumnInfo | back to summary |
|---|---|
| public boolean hasLongColumnInfo() | |
| hasMoreResults | back to summary |
|---|---|
| public boolean hasMoreResults() | |
| inTransactionOnServer | back to summary |
|---|---|
| public boolean inTransactionOnServer() | |
| isAutocommit | back to summary |
|---|---|
| public boolean isAutocommit() | |
| isAutoCommit | back to summary |
|---|---|
| public boolean isAutoCommit() | |
| isEOFDeprecated | back to summary |
|---|---|
| public boolean isEOFDeprecated() | |
| isLastRowSent | back to summary |
|---|---|
| public boolean isLastRowSent() | |
| isLowerCaseTableNames | back to summary |
|---|---|
| public boolean isLowerCaseTableNames() Is the server configured to use lower-case table names only?
| |
| isNoBackslashEscapesSet | back to summary |
|---|---|
| public boolean isNoBackslashEscapesSet() | |
| isQueryCacheEnabled | back to summary |
|---|---|
| public boolean isQueryCacheEnabled() | |
| isServerTruncatesFracSecs | back to summary |
|---|---|
| public boolean isServerTruncatesFracSecs() | |
| isSessionStateTrackingEnabled | back to summary |
|---|---|
| public boolean isSessionStateTrackingEnabled() | |
| isVersion | back to summary |
|---|---|
| public boolean isVersion(ServerVersion version) Is the version of the MySQL server we are connected to the given version?
| |
| noGoodIndexUsed | back to summary |
|---|---|
| public boolean noGoodIndexUsed() | |
| noIndexUsed | back to summary |
|---|---|
| public boolean noIndexUsed() | |
| queryWasSlow | back to summary |
|---|---|
| public boolean queryWasSlow() | |
| setAutoCommit | back to summary |
|---|---|
| public void setAutoCommit(boolean autoCommit) | |
| setCapabilities | back to summary |
|---|---|
| public void setCapabilities(ServerCapabilities capabilities) | |
| setCharsetSettings | back to summary |
|---|---|
| public void setCharsetSettings(CharsetSettings charsetSettings) | |
| setClientParam | back to summary |
|---|---|
| public void setClientParam(long clientParam) | |
| setServerVariables | back to summary |
|---|---|
| public void setServerVariables(Map<String, String> serverVariables) | |
| setSessionTimeZone | back to summary |
|---|---|
| public void setSessionTimeZone(TimeZone sessionTimeZone) | |
| setStatusFlags | back to summary |
|---|---|
| public void setStatusFlags(int statusFlags) Sets new server status (from response) without saving it's old state
| |
| setStatusFlags | back to summary |
|---|---|
| public void setStatusFlags(int statusFlags, boolean saveOldStatusFlags) Sets new server status (from response)
| |
| storesLowerCaseTableNames | back to summary |
|---|---|
| public boolean storesLowerCaseTableNames() | |
| supportsQueryAttributes | back to summary |
|---|---|
| public boolean supportsQueryAttributes() | |
| useAnsiQuotedIdentifiers | back to summary |
|---|---|
| public boolean useAnsiQuotedIdentifiers() | |
| useMultiResults | back to summary |
|---|---|
| public boolean useMultiResults() | |