public class ReplicationConnection extends java.lang.Object implements Connection, PingTarget
| Modifier and Type | Field and Description |
|---|---|
protected Connection |
currentConnection |
protected LoadBalancedConnection |
masterConnection |
protected LoadBalancedConnection |
slavesConnection |
| Modifier | Constructor and Description |
|---|---|
protected |
ReplicationConnection() |
|
ReplicationConnection(java.util.Properties masterProperties,
java.util.Properties slaveProperties,
java.util.List<java.lang.String> masterHostList,
java.util.List<java.lang.String> slaveHostList) |
| Modifier and Type | Method and Description |
|---|---|
void |
abort(java.util.concurrent.Executor executor) |
void |
abortInternal() |
void |
addSlaveHost(java.lang.String host) |
void |
changeUser(java.lang.String userName,
java.lang.String newPassword)
Changes the user on this connection by performing a re-authentication.
|
void |
checkClosed() |
void |
clearHasTriedMaster() |
void |
clearWarnings() |
java.sql.PreparedStatement |
clientPrepareStatement(java.lang.String sql)
Prepares a statement on the client, using client-side emulation
(irregardless of the configuration property 'useServerPrepStmts')
with the same semantics as the java.sql.Connection.prepareStatement()
method with the same argument types.
|
java.sql.PreparedStatement |
clientPrepareStatement(java.lang.String sql,
int autoGenKeyIndex)
Prepares a statement on the client, using client-side emulation
(irregardless of the configuration property 'useServerPrepStmts')
with the same semantics as the java.sql.Connection.prepareStatement()
method with the same argument types.
|
java.sql.PreparedStatement |
clientPrepareStatement(java.lang.String sql,
int[] autoGenKeyIndexes)
Prepares a statement on the client, using client-side emulation
(irregardless of the configuration property 'useServerPrepStmts')
with the same semantics as the java.sql.Connection.prepareStatement()
method with the same argument types.
|
java.sql.PreparedStatement |
clientPrepareStatement(java.lang.String sql,
int resultSetType,
int resultSetConcurrency)
Prepares a statement on the client, using client-side emulation
(irregardless of the configuration property 'useServerPrepStmts')
with the same semantics as the java.sql.Connection.prepareStatement()
method with the same argument types.
|
java.sql.PreparedStatement |
clientPrepareStatement(java.lang.String sql,
int resultSetType,
int resultSetConcurrency,
int resultSetHoldability)
Prepares a statement on the client, using client-side emulation
(irregardless of the configuration property 'useServerPrepStmts')
with the same semantics as the java.sql.Connection.prepareStatement()
method with the same argument types.
|
java.sql.PreparedStatement |
clientPrepareStatement(java.lang.String sql,
java.lang.String[] autoGenKeyColNames)
Prepares a statement on the client, using client-side emulation
(irregardless of the configuration property 'useServerPrepStmts')
with the same semantics as the java.sql.Connection.prepareStatement()
method with the same argument types.
|
void |
close() |
void |
commit() |
java.sql.Statement |
createStatement() |
java.sql.Statement |
createStatement(int resultSetType,
int resultSetConcurrency) |
java.sql.Statement |
createStatement(int resultSetType,
int resultSetConcurrency,
int resultSetHoldability) |
void |
doPing() |
java.lang.String |
exposeAsXml()
Returns a description of the connection properties as an XML document.
|
int |
getActiveStatementCount()
Returns the number of statements active on this connection, which
haven't been .close()d.
|
boolean |
getAllowLoadLocalInfile() |
boolean |
getAllowMasterDownConnections() |
boolean |
getAllowMultiQueries() |
boolean |
getAllowNanAndInf() |
boolean |
getAllowPublicKeyRetrieval() |
boolean |
getAllowUrlInLocalInfile() |
boolean |
getAlwaysSendSetIsolation() |
java.lang.String |
getAuthenticationPlugins() |
boolean |
getAutoClosePStmtStreams() |
boolean |
getAutoCommit() |
boolean |
getAutoDeserialize() |
boolean |
getAutoGenerateTestcaseScript() |
int |
getAutoIncrementIncrement()
Returns the -session- value of 'auto_increment_increment' from the server if it exists,
or '1' if not.
|
boolean |
getAutoReconnectForPools() |
boolean |
getAutoSlowLog() |
boolean |
getBlobsAreStrings() |
int |
getBlobSendChunkSize() |
boolean |
getCacheCallableStatements() |
boolean |
getCacheCallableStmts() |
boolean |
getCacheDefaultTimezone() |
boolean |
getCachePreparedStatements() |
boolean |
getCachePrepStmts() |
boolean |
getCacheResultSetMetadata() |
boolean |
getCacheServerConfiguration() |
int |
getCallableStatementCacheSize() |
int |
getCallableStmtCacheSize() |
boolean |
getCapitalizeTypeNames() |
java.lang.String |
getCatalog() |
java.lang.String |
getCharacterSetResults() |
java.lang.String |
getClientCertificateKeyStorePassword() |
java.lang.String |
getClientCertificateKeyStoreType() |
java.lang.String |
getClientCertificateKeyStoreUrl() |
java.lang.String |
getClientInfoProvider() |
boolean |
getClobberStreamingResults() |
java.lang.String |
getClobCharacterEncoding() |
boolean |
getCompensateOnDuplicateKeyUpdateCounts() |
java.lang.String |
getConnectionAttributes() |
java.lang.String |
getConnectionCollation() |
long |
getConnectionGroupId() |
java.lang.String |
getConnectionLifecycleInterceptors() |
java.lang.Object |
getConnectionMutex() |
int |
getConnectTimeout() |
boolean |
getContinueBatchOnError() |
boolean |
getCreateDatabaseIfNotExist() |
Connection |
getCurrentConnection() |
java.lang.String |
getDefaultAuthenticationPlugin() |
int |
getDefaultFetchSize() |
boolean |
getDetectCustomCollations() |
java.lang.String |
getDisabledAuthenticationPlugins() |
boolean |
getDisconnectOnExpiredPasswords() |
boolean |
getDontCheckOnDuplicateKeyUpdateInSQL() |
boolean |
getDontTrackOpenResources() |
boolean |
getDumpMetadataOnColumnNotFound() |
boolean |
getDumpQueriesOnException() |
boolean |
getDynamicCalendars() |
boolean |
getElideSetAutoCommits() |
boolean |
getEmptyStringsConvertToZero() |
boolean |
getEmulateLocators() |
boolean |
getEmulateUnsupportedPstmts() |
java.lang.String |
getEnabledSSLCipherSuites() |
boolean |
getEnablePacketDebug() |
boolean |
getEnableQueryTimeouts() |
java.lang.String |
getEncoding() |
ExceptionInterceptor |
getExceptionInterceptor() |
java.lang.String |
getExceptionInterceptors() |
boolean |
getExplainSlowQueries() |
boolean |
getFailOverReadOnly() |
boolean |
getFunctionsNeverReturnBlobs() |
boolean |
getGatherPerfMetrics() |
boolean |
getGatherPerformanceMetrics() |
boolean |
getGenerateSimpleParameterMetadata() |
boolean |
getGetProceduresReturnsFunctions() |
int |
getHoldability() |
boolean |
getHoldResultsOpenOverStatementClose() |
java.lang.String |
getHost() |
long |
getIdleFor()
Reports how long this connection has been idle.
|
boolean |
getIgnoreNonTxTables() |
boolean |
getIncludeInnodbStatusInDeadlockExceptions() |
boolean |
getIncludeThreadDumpInDeadlockExceptions() |
boolean |
getIncludeThreadNamesAsStatementComment() |
int |
getInitialTimeout() |
boolean |
getInteractiveClient() |
boolean |
getIsInteractiveClient() |
boolean |
getJdbcCompliantTruncation() |
boolean |
getJdbcCompliantTruncationForReads() |
java.lang.String |
getLargeRowSizeThreshold() |
java.lang.String |
getLoadBalanceAutoCommitStatementRegex() |
int |
getLoadBalanceAutoCommitStatementThreshold() |
int |
getLoadBalanceBlacklistTimeout() |
java.lang.String |
getLoadBalanceConnectionGroup() |
boolean |
getLoadBalanceEnableJMX() |
java.lang.String |
getLoadBalanceExceptionChecker() |
int |
getLoadBalancePingTimeout() |
java.lang.String |
getLoadBalanceSQLExceptionSubclassFailover() |
java.lang.String |
getLoadBalanceSQLStateFailover() |
java.lang.String |
getLoadBalanceStrategy() |
boolean |
getLoadBalanceValidateConnectionOnSwapServer() |
java.lang.String |
getLocalSocketAddress() |
int |
getLocatorFetchBufferSize() |
com.mysql.jdbc.log.Log |
getLog()
Returns the log mechanism that should be used to log information from/for
this Connection.
|
java.lang.String |
getLogger() |
java.lang.String |
getLoggerClassName() |
boolean |
getLogSlowQueries() |
boolean |
getLogXaCommands() |
boolean |
getMaintainTimeStats() |
Connection |
getMasterConnection() |
int |
getMaxAllowedPacket() |
int |
getMaxQuerySizeToLog() |
int |
getMaxReconnects() |
int |
getMaxRows() |
java.sql.DatabaseMetaData |
getMetaData() |
int |
getMetadataCacheSize()
Returns the number of queries that metadata can be cached if caching is
enabled.
|
int |
getNetTimeoutForStreamingResults() |
int |
getNetworkTimeout() |
boolean |
getNoAccessToProcedureBodies() |
boolean |
getNoDatetimeStringSync() |
boolean |
getNoTimezoneConversionForDateType() |
boolean |
getNoTimezoneConversionForTimeType() |
boolean |
getNullCatalogMeansCurrent() |
boolean |
getNullNamePatternMatchesAll() |
boolean |
getOverrideSupportsIntegrityEnhancementFacility() |
int |
getPacketDebugBufferSize() |
boolean |
getPadCharsWithSpace() |
boolean |
getParanoid() |
java.lang.String |
getParseInfoCacheFactory() |
java.lang.String |
getPasswordCharacterEncoding() |
boolean |
getPedantic() |
boolean |
getPinGlobalTxToPhysicalConnection() |
boolean |
getPopulateInsertRowWithDefaultValues() |
int |
getPreparedStatementCacheSize() |
int |
getPreparedStatementCacheSqlLimit() |
int |
getPrepStmtCacheSize() |
int |
getPrepStmtCacheSqlLimit() |
boolean |
getProcessEscapeCodesForPrepStmts() |
java.lang.String |
getProfilerEventHandler() |
boolean |
getProfileSql() |
boolean |
getProfileSQL() |
java.util.Properties |
getProperties()
Returns the parsed and passed in properties for this connection.
|
java.lang.String |
getPropertiesTransform() |
int |
getQueriesBeforeRetryMaster() |
boolean |
getQueryTimeoutKillsConnection() |
boolean |
getReadOnlyPropagatesToServer() |
boolean |
getReconnectAtTxEnd() |
boolean |
getRelaxAutoCommit() |
boolean |
getReplicationEnableJMX() |
int |
getReportMetricsIntervalMillis() |
boolean |
getRequireSSL() |
java.lang.String |
getResourceId() |
int |
getResultSetSizeThreshold() |
boolean |
getRetainStatementAfterResultSetClose() |
int |
getRetriesAllDown() |
boolean |
getRewriteBatchedStatements() |
boolean |
getRollbackOnPooledClose() |
boolean |
getRoundRobinLoadBalance()
Returns whether or not hosts will be picked in a round-robin fashion.
|
boolean |
getRunningCTS13() |
java.lang.String |
getSchema() |
int |
getSecondsBeforeRetryMaster() |
int |
getSelfDestructOnPingMaxOperations() |
int |
getSelfDestructOnPingSecondsLifetime() |
java.lang.String |
getServerCharacterEncoding()
Deprecated.
replaced by
getServerCharset() |
java.lang.String |
getServerCharset()
Returns the server's character set
|
java.lang.String |
getServerConfigCacheFactory() |
java.lang.String |
getServerRSAPublicKeyFile() |
java.lang.String |
getServerTimezone()
Returns the 'serverTimezone' property.
|
java.util.TimeZone |
getServerTimezoneTZ()
Returns the TimeZone that represents the configured
timezone for the server.
|
int |
getSessionMaxRows() |
java.lang.String |
getSessionVariables() |
Connection |
getSlavesConnection() |
int |
getSlowQueryThresholdMillis() |
long |
getSlowQueryThresholdNanos() |
java.lang.String |
getSocketFactory() |
java.lang.String |
getSocketFactoryClassName() |
int |
getSocketTimeout() |
java.lang.String |
getSocksProxyHost() |
int |
getSocksProxyPort() |
java.lang.String |
getStatementComment()
Returns the comment that will be prepended to all statements
sent to the server.
|
java.lang.String |
getStatementInterceptors() |
boolean |
getStrictFloatingPoint() |
boolean |
getStrictUpdates() |
boolean |
getTcpKeepAlive() |
boolean |
getTcpNoDelay() |
int |
getTcpRcvBuf() |
int |
getTcpSndBuf() |
int |
getTcpTrafficClass() |
boolean |
getTinyInt1isBit() |
boolean |
getTraceProtocol() |
int |
getTransactionIsolation() |
boolean |
getTransformedBitIsBoolean() |
boolean |
getTreatUtilDateAsTimestamp() |
java.lang.String |
getTrustCertificateKeyStorePassword() |
java.lang.String |
getTrustCertificateKeyStoreType() |
java.lang.String |
getTrustCertificateKeyStoreUrl() |
java.util.Map<java.lang.String,java.lang.Class<?>> |
getTypeMap() |
boolean |
getUltraDevHack() |
boolean |
getUseAffectedRows() |
boolean |
getUseBlobToStoreUTF8OutsideBMP() |
boolean |
getUseColumnNamesInFindColumn() |
boolean |
getUseCompression() |
java.lang.String |
getUseConfigs() |
boolean |
getUseCursorFetch() |
boolean |
getUseDirectRowUnpack() |
boolean |
getUseDynamicCharsetInfo() |
boolean |
getUseFastDateParsing() |
boolean |
getUseFastIntParsing() |
boolean |
getUseGmtMillisForDatetimes() |
boolean |
getUseHostsInPrivileges() |
boolean |
getUseInformationSchema() |
boolean |
getUseJDBCCompliantTimezoneShift() |
boolean |
getUseJvmCharsetConverters() |
boolean |
getUseLegacyDatetimeCode() |
boolean |
getUseLocalSessionState() |
boolean |
getUseLocalTransactionState() |
boolean |
getUseNanosForElapsedTime() |
boolean |
getUseOldAliasMetadataBehavior() |
boolean |
getUseOldUTF8Behavior() |
boolean |
getUseOnlyServerErrorMessages() |
boolean |
getUseReadAheadInput() |
boolean |
getUseServerPreparedStmts() |
boolean |
getUseServerPrepStmts() |
boolean |
getUseSqlStateCodes() |
boolean |
getUseSSL() |
boolean |
getUseSSPSCompatibleTimezoneShift() |
boolean |
getUseStreamLengthsInPrepStmts() |
boolean |
getUseTimezone() |
boolean |
getUseUltraDevWorkAround() |
boolean |
getUseUnbufferedInput() |
boolean |
getUseUnicode() |
boolean |
getUseUsageAdvisor()
Returns whether or not the driver advises of proper usage.
|
java.lang.String |
getUtf8OutsideBmpExcludedColumnNamePattern() |
java.lang.String |
getUtf8OutsideBmpIncludedColumnNamePattern() |
boolean |
getVerifyServerCertificate() |
java.sql.SQLWarning |
getWarnings() |
boolean |
getYearIsDateType() |
java.lang.String |
getZeroDateTimeBehavior() |
boolean |
hasSameProperties(Connection c)
Does this connection have the same properties as another?
|
boolean |
hasTriedMaster()
Has this connection tried to execute a query on the "master"
server (first host in a multiple host list).
|
void |
initializeExtension(Extension ex) |
boolean |
isAbonormallyLongQuery(long millisOrNanos) |
boolean |
isClosed() |
boolean |
isHostMaster(java.lang.String host) |
boolean |
isHostSlave(java.lang.String host) |
boolean |
isInGlobalTx()
Is this connection currently a participant in an XA transaction?
|
boolean |
isMasterConnection()
Is this connection connected to the first host in the list if
there is a list of servers in the URL?
|
boolean |
isNoBackslashEscapesSet()
Is the server in a sql_mode that doesn't allow us to use \\ to escape
things?
|
boolean |
isReadOnly() |
boolean |
isSameResource(Connection c)
Does this connection have the same resource name as the given
connection (for XA)?
|
boolean |
isServerLocal()
Is the server this connection is connected to "local" (i.e. same host) as the application?
|
boolean |
lowerCaseTableNames()
Is the server configured to use lower-case table names only?
|
java.lang.String |
nativeSQL(java.lang.String sql) |
boolean |
parserKnowsUnicode()
Does the server this connection is connected to
support unicode?
|
void |
ping()
Detect if the connection is still good by sending a ping command
to the server.
|
java.sql.CallableStatement |
prepareCall(java.lang.String sql) |
java.sql.CallableStatement |
prepareCall(java.lang.String sql,
int resultSetType,
int resultSetConcurrency) |
java.sql.CallableStatement |
prepareCall(java.lang.String sql,
int resultSetType,
int resultSetConcurrency,
int resultSetHoldability) |
java.sql.PreparedStatement |
prepareStatement(java.lang.String sql) |
java.sql.PreparedStatement |
prepareStatement(java.lang.String sql,
int autoGeneratedKeys) |
java.sql.PreparedStatement |
prepareStatement(java.lang.String sql,
int[] columnIndexes) |
java.sql.PreparedStatement |
prepareStatement(java.lang.String sql,
int resultSetType,
int resultSetConcurrency) |
java.sql.PreparedStatement |
prepareStatement(java.lang.String sql,
int resultSetType,
int resultSetConcurrency,
int resultSetHoldability) |
java.sql.PreparedStatement |
prepareStatement(java.lang.String sql,
java.lang.String[] columnNames) |
void |
promoteSlaveToMaster(java.lang.String host) |
void |
releaseSavepoint(java.sql.Savepoint savepoint) |
void |
removeMasterHost(java.lang.String host) |
void |
removeMasterHost(java.lang.String host,
boolean waitUntilNotInUse) |
void |
removeMasterHost(java.lang.String host,
boolean waitUntilNotInUse,
boolean isNowSlave) |
void |
removeSlave(java.lang.String host) |
void |
removeSlave(java.lang.String host,
boolean closeGently) |
void |
reportQueryTime(long millisOrNanos) |
void |
resetServerState()
Resets the server-side state of this connection.
|
void |
rollback() |
void |
rollback(java.sql.Savepoint savepoint) |
java.sql.PreparedStatement |
serverPrepareStatement(java.lang.String sql)
Prepares a statement on the server (irregardless of the
configuration property 'useServerPrepStmts') with the same semantics
as the java.sql.Connection.prepareStatement() method with the
same argument types.
|
java.sql.PreparedStatement |
serverPrepareStatement(java.lang.String sql,
int autoGenKeyIndex)
Prepares a statement on the server (irregardless of the
configuration property 'useServerPrepStmts') with the same semantics
as the java.sql.Connection.prepareStatement() method with the
same argument types.
|
java.sql.PreparedStatement |
serverPrepareStatement(java.lang.String sql,
int[] autoGenKeyIndexes)
Prepares a statement on the server (irregardless of the
configuration property 'useServerPrepStmts') with the same semantics
as the java.sql.Connection.prepareStatement() method with the
same argument types.
|
java.sql.PreparedStatement |
serverPrepareStatement(java.lang.String sql,
int resultSetType,
int resultSetConcurrency)
Prepares a statement on the server (irregardless of the
configuration property 'useServerPrepStmts') with the same semantics
as the java.sql.Connection.prepareStatement() method with the
same argument types.
|
java.sql.PreparedStatement |
serverPrepareStatement(java.lang.String sql,
int resultSetType,
int resultSetConcurrency,
int resultSetHoldability)
Prepares a statement on the server (irregardless of the
configuration property 'useServerPrepStmts') with the same semantics
as the java.sql.Connection.prepareStatement() method with the
same argument types.
|
java.sql.PreparedStatement |
serverPrepareStatement(java.lang.String sql,
java.lang.String[] autoGenKeyColNames)
Prepares a statement on the server (irregardless of the
configuration property 'useServerPrepStmts') with the same semantics
as the java.sql.Connection.prepareStatement() method with the
same argument types.
|
void |
setAllowLoadLocalInfile(boolean property) |
void |
setAllowMasterDownConnections(boolean connectIfMasterDown) |
void |
setAllowMultiQueries(boolean property) |
void |
setAllowNanAndInf(boolean flag) |
void |
setAllowPublicKeyRetrieval(boolean allowPublicKeyRetrieval) |
void |
setAllowUrlInLocalInfile(boolean flag) |
void |
setAlwaysSendSetIsolation(boolean flag) |
void |
setAuthenticationPlugins(java.lang.String authenticationPlugins) |
void |
setAutoClosePStmtStreams(boolean flag) |
void |
setAutoCommit(boolean autoCommit) |
void |
setAutoDeserialize(boolean flag) |
void |
setAutoGenerateTestcaseScript(boolean flag) |
void |
setAutoReconnect(boolean flag) |
void |
setAutoReconnectForConnectionPools(boolean property) |
void |
setAutoReconnectForPools(boolean flag) |
void |
setAutoSlowLog(boolean flag) |
void |
setBlobsAreStrings(boolean flag) |
void |
setBlobSendChunkSize(java.lang.String value) |
void |
setCacheCallableStatements(boolean flag) |
void |
setCacheCallableStmts(boolean flag) |
void |
setCacheDefaultTimezone(boolean flag) |
void |
setCachePreparedStatements(boolean flag) |
void |
setCachePrepStmts(boolean flag) |
void |
setCacheResultSetMetadata(boolean property)
Sets whether or not we should cache result set metadata.
|
void |
setCacheServerConfiguration(boolean flag) |
void |
setCallableStatementCacheSize(int size)
Configures the number of callable statements to cache.
|
void |
setCallableStmtCacheSize(int cacheSize) |
void |
setCapitalizeDBMDTypes(boolean property) |
void |
setCapitalizeTypeNames(boolean flag) |
void |
setCatalog(java.lang.String catalog) |
void |
setCharacterEncoding(java.lang.String encoding) |
void |
setCharacterSetResults(java.lang.String characterSet) |
void |
setClientCertificateKeyStorePassword(java.lang.String value) |
void |
setClientCertificateKeyStoreType(java.lang.String value) |
void |
setClientCertificateKeyStoreUrl(java.lang.String value) |
void |
setClientInfoProvider(java.lang.String classname) |
void |
setClobberStreamingResults(boolean flag) |
void |
setClobCharacterEncoding(java.lang.String encoding) |
void |
setCompensateOnDuplicateKeyUpdateCounts(boolean flag) |
void |
setConnectionCollation(java.lang.String collation) |
void |
setConnectionLifecycleInterceptors(java.lang.String interceptors) |
void |
setConnectTimeout(int timeoutMs) |
void |
setContinueBatchOnError(boolean property) |
void |
setCreateDatabaseIfNotExist(boolean flag) |
void |
setDefaultAuthenticationPlugin(java.lang.String defaultAuthenticationPlugin) |
void |
setDefaultFetchSize(int n) |
void |
setDetectCustomCollations(boolean detectCustomCollations) |
void |
setDetectServerPreparedStmts(boolean property) |
void |
setDisabledAuthenticationPlugins(java.lang.String disabledAuthenticationPlugins) |
void |
setDisconnectOnExpiredPasswords(boolean disconnectOnExpiredPasswords) |
void |
setDontCheckOnDuplicateKeyUpdateInSQL(boolean dontCheckOnDuplicateKeyUpdateInSQL) |
void |
setDontTrackOpenResources(boolean flag) |
void |
setDumpMetadataOnColumnNotFound(boolean flag) |
void |
setDumpQueriesOnException(boolean flag) |
void |
setDynamicCalendars(boolean flag) |
void |
setElideSetAutoCommits(boolean flag) |
void |
setEmptyStringsConvertToZero(boolean flag) |
void |
setEmulateLocators(boolean property) |
void |
setEmulateUnsupportedPstmts(boolean flag) |
void |
setEnabledSSLCipherSuites(java.lang.String cipherSuites) |
void |
setEnablePacketDebug(boolean flag) |
void |
setEnableQueryTimeouts(boolean flag) |
void |
setEncoding(java.lang.String property) |
void |
setExceptionInterceptors(java.lang.String exceptionInterceptors) |
void |
setExplainSlowQueries(boolean flag) |
void |
setFailedOver(boolean flag) |
void |
setFailOverReadOnly(boolean flag) |
void |
setFunctionsNeverReturnBlobs(boolean flag) |
void |
setGatherPerfMetrics(boolean flag) |
void |
setGatherPerformanceMetrics(boolean flag) |
void |
setGenerateSimpleParameterMetadata(boolean flag) |
void |
setGetProceduresReturnsFunctions(boolean getProcedureReturnsFunctions) |
void |
setHoldability(int holdability) |
void |
setHoldResultsOpenOverStatementClose(boolean flag) |
void |
setIgnoreNonTxTables(boolean property) |
void |
setIncludeInnodbStatusInDeadlockExceptions(boolean flag) |
void |
setIncludeThreadDumpInDeadlockExceptions(boolean flag) |
void |
setIncludeThreadNamesAsStatementComment(boolean flag) |
void |
setInGlobalTx(boolean flag)
Set the state of being in a global (XA) transaction.
|
void |
setInitialTimeout(int property) |
void |
setInteractiveClient(boolean property) |
void |
setIsInteractiveClient(boolean property) |
void |
setJdbcCompliantTruncation(boolean flag) |
void |
setJdbcCompliantTruncationForReads(boolean jdbcCompliantTruncationForReads) |
void |
setLargeRowSizeThreshold(java.lang.String value) |
void |
setLoadBalanceAutoCommitStatementRegex(java.lang.String loadBalanceAutoCommitStatementRegex) |
void |
setLoadBalanceAutoCommitStatementThreshold(int loadBalanceAutoCommitStatementThreshold) |
void |
setLoadBalanceBlacklistTimeout(int loadBalanceBlacklistTimeout) |
void |
setLoadBalanceConnectionGroup(java.lang.String loadBalanceConnectionGroup) |
void |
setLoadBalanceEnableJMX(boolean loadBalanceEnableJMX) |
void |
setLoadBalanceExceptionChecker(java.lang.String loadBalanceExceptionChecker) |
void |
setLoadBalancePingTimeout(int loadBalancePingTimeout) |
void |
setLoadBalanceSQLExceptionSubclassFailover(java.lang.String loadBalanceSQLExceptionSubclassFailover) |
void |
setLoadBalanceSQLStateFailover(java.lang.String loadBalanceSQLStateFailover) |
void |
setLoadBalanceStrategy(java.lang.String strategy) |
void |
setLoadBalanceValidateConnectionOnSwapServer(boolean loadBalanceValidateConnectionOnSwapServer) |
void |
setLocalSocketAddress(java.lang.String address) |
void |
setLocatorFetchBufferSize(java.lang.String value) |
void |
setLogger(java.lang.String property) |
void |
setLoggerClassName(java.lang.String className) |
void |
setLogSlowQueries(boolean flag) |
void |
setLogXaCommands(boolean flag) |
void |
setMaintainTimeStats(boolean flag) |
void |
setMaxQuerySizeToLog(int sizeInBytes) |
void |
setMaxReconnects(int property) |
void |
setMaxRows(int property) |
void |
setMetadataCacheSize(int value)
Sets the number of queries that metadata can be cached if caching is
enabled.
|
void |
setNetTimeoutForStreamingResults(int value) |
void |
setNetworkTimeout(java.util.concurrent.Executor executor,
int milliseconds) |
void |
setNoAccessToProcedureBodies(boolean flag) |
void |
setNoDatetimeStringSync(boolean flag) |
void |
setNoTimezoneConversionForDateType(boolean flag) |
void |
setNoTimezoneConversionForTimeType(boolean flag) |
void |
setNullCatalogMeansCurrent(boolean value) |
void |
setNullNamePatternMatchesAll(boolean value) |
void |
setOverrideSupportsIntegrityEnhancementFacility(boolean flag) |
void |
setPacketDebugBufferSize(int size) |
void |
setPadCharsWithSpace(boolean flag) |
void |
setParanoid(boolean property) |
void |
setParseInfoCacheFactory(java.lang.String factoryClassname) |
void |
setPasswordCharacterEncoding(java.lang.String characterSet) |
void |
setPedantic(boolean property) |
void |
setPinGlobalTxToPhysicalConnection(boolean flag) |
void |
setPopulateInsertRowWithDefaultValues(boolean flag) |
void |
setPreferSlaveDuringFailover(boolean flag) |
void |
setPreparedStatementCacheSize(int cacheSize) |
void |
setPreparedStatementCacheSqlLimit(int cacheSqlLimit) |
void |
setPrepStmtCacheSize(int cacheSize) |
void |
setPrepStmtCacheSqlLimit(int sqlLimit) |
void |
setProcessEscapeCodesForPrepStmts(boolean flag) |
void |
setProfilerEventHandler(java.lang.String handler) |
void |
setProfileSql(boolean property) |
void |
setProfileSQL(boolean flag) |
void |
setPropertiesTransform(java.lang.String value) |
void |
setProxy(MySQLConnection proxy) |
void |
setQueriesBeforeRetryMaster(int property) |
void |
setQueryTimeoutKillsConnection(boolean queryTimeoutKillsConnection) |
void |
setReadOnly(boolean readOnly) |
void |
setReadOnlyPropagatesToServer(boolean flag) |
void |
setReconnectAtTxEnd(boolean property) |
void |
setRelaxAutoCommit(boolean property) |
void |
setReplicationEnableJMX(boolean replicationEnableJMX) |
void |
setReportMetricsIntervalMillis(int millis) |
void |
setRequireSSL(boolean property) |
void |
setResourceId(java.lang.String resourceId) |
void |
setResultSetSizeThreshold(int threshold) |
void |
setRetainStatementAfterResultSetClose(boolean flag) |
void |
setRetriesAllDown(int retriesAllDown) |
void |
setRewriteBatchedStatements(boolean flag) |
void |
setRollbackOnPooledClose(boolean flag) |
void |
setRoundRobinLoadBalance(boolean flag)
Sets whether or not hosts will be picked in a round-robin fashion.
|
void |
setRunningCTS13(boolean flag) |
java.sql.Savepoint |
setSavepoint() |
java.sql.Savepoint |
setSavepoint(java.lang.String name) |
void |
setSchema(java.lang.String schema) |
void |
setSecondsBeforeRetryMaster(int property) |
void |
setSelfDestructOnPingMaxOperations(int maxOperations) |
void |
setSelfDestructOnPingSecondsLifetime(int seconds) |
void |
setServerConfigCacheFactory(java.lang.String factoryClassname) |
void |
setServerRSAPublicKeyFile(java.lang.String serverRSAPublicKeyFile) |
void |
setServerTimezone(java.lang.String property) |
void |
setSessionMaxRows(int max) |
void |
setSessionVariables(java.lang.String variables) |
void |
setSlowQueryThresholdMillis(int millis) |
void |
setSlowQueryThresholdNanos(long nanos) |
void |
setSocketFactory(java.lang.String name) |
void |
setSocketFactoryClassName(java.lang.String property) |
void |
setSocketTimeout(int property) |
void |
setSocksProxyHost(java.lang.String socksProxyHost) |
void |
setSocksProxyPort(int socksProxyPort) |
void |
setStatementComment(java.lang.String comment)
Sets the comment that will be prepended to all statements
sent to the server.
|
void |
setStatementInterceptors(java.lang.String value) |
void |
setStrictFloatingPoint(boolean property) |
void |
setStrictUpdates(boolean property) |
void |
setTcpKeepAlive(boolean flag) |
void |
setTcpNoDelay(boolean flag) |
void |
setTcpRcvBuf(int bufSize) |
void |
setTcpSndBuf(int bufSize) |
void |
setTcpTrafficClass(int classFlags) |
void |
setTinyInt1isBit(boolean flag) |
void |
setTraceProtocol(boolean flag) |
void |
setTransactionIsolation(int level) |
void |
setTransformedBitIsBoolean(boolean flag) |
void |
setTreatUtilDateAsTimestamp(boolean flag) |
void |
setTrustCertificateKeyStorePassword(java.lang.String value) |
void |
setTrustCertificateKeyStoreType(java.lang.String value) |
void |
setTrustCertificateKeyStoreUrl(java.lang.String value) |
void |
setTypeMap(java.util.Map<java.lang.String,java.lang.Class<?>> map) |
void |
setUltraDevHack(boolean flag) |
void |
setUseAffectedRows(boolean flag) |
void |
setUseBlobToStoreUTF8OutsideBMP(boolean flag) |
void |
setUseColumnNamesInFindColumn(boolean flag) |
void |
setUseCompression(boolean property) |
void |
setUseConfigs(java.lang.String configs) |
void |
setUseCursorFetch(boolean flag) |
void |
setUseDirectRowUnpack(boolean flag) |
void |
setUseDynamicCharsetInfo(boolean flag) |
void |
setUseFastDateParsing(boolean flag) |
void |
setUseFastIntParsing(boolean flag) |
void |
setUseGmtMillisForDatetimes(boolean flag) |
void |
setUseHostsInPrivileges(boolean property) |
void |
setUseInformationSchema(boolean flag) |
void |
setUseJDBCCompliantTimezoneShift(boolean flag) |
void |
setUseJvmCharsetConverters(boolean flag) |
void |
setUseLegacyDatetimeCode(boolean flag) |
void |
setUseLocalSessionState(boolean flag) |
void |
setUseLocalTransactionState(boolean flag) |
void |
setUseNanosForElapsedTime(boolean flag) |
void |
setUseOldAliasMetadataBehavior(boolean flag) |
void |
setUseOldUTF8Behavior(boolean flag) |
void |
setUseOnlyServerErrorMessages(boolean flag) |
void |
setUseReadAheadInput(boolean flag) |
void |
setUseServerPreparedStmts(boolean flag) |
void |
setUseServerPrepStmts(boolean flag) |
void |
setUseSqlStateCodes(boolean flag) |
void |
setUseSSL(boolean property) |
void |
setUseSSPSCompatibleTimezoneShift(boolean flag) |
void |
setUseStreamLengthsInPrepStmts(boolean property) |
void |
setUseTimezone(boolean property) |
void |
setUseUltraDevWorkAround(boolean property) |
void |
setUseUnbufferedInput(boolean flag) |
void |
setUseUnicode(boolean flag) |
void |
setUseUsageAdvisor(boolean useUsageAdvisorFlag)
Sets whether or not the driver advises of proper usage.
|
void |
setUtf8OutsideBmpExcludedColumnNamePattern(java.lang.String regexPattern) |
void |
setUtf8OutsideBmpIncludedColumnNamePattern(java.lang.String regexPattern) |
void |
setVerifyServerCertificate(boolean flag) |
void |
setYearIsDateType(boolean flag) |
void |
setZeroDateTimeBehavior(java.lang.String behavior) |
void |
shutdownServer()
Used by MiniAdmin to shutdown a MySQL server
|
boolean |
supportsIsolationLevel()
Does the server this connection is connected to
support isolation levels?
|
boolean |
supportsQuotedIdentifiers()
Does the server this connection is connected to
support quoted identifiers?
|
boolean |
supportsTransactions()
Does the server this connection is connected to
support transactions?
|
boolean |
useUnbufferedInput() |
boolean |
versionMeetsMinimum(int major,
int minor,
int subminor)
Does the server this connection is connected to
meet or exceed the given version?
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitprotected Connection currentConnection
protected LoadBalancedConnection masterConnection
protected LoadBalancedConnection slavesConnection
protected ReplicationConnection()
public ReplicationConnection(java.util.Properties masterProperties,
java.util.Properties slaveProperties,
java.util.List<java.lang.String> masterHostList,
java.util.List<java.lang.String> slaveHostList)
throws java.sql.SQLException
java.sql.SQLExceptionpublic long getConnectionGroupId()
public void clearWarnings()
throws java.sql.SQLException
clearWarnings in interface java.sql.Connectionjava.sql.SQLExceptionpublic void close()
throws java.sql.SQLException
close in interface java.lang.AutoCloseableclose in interface java.sql.Connectionjava.sql.SQLExceptionpublic void commit()
throws java.sql.SQLException
commit in interface java.sql.Connectionjava.sql.SQLExceptionpublic boolean isHostMaster(java.lang.String host)
public boolean isHostSlave(java.lang.String host)
public void removeSlave(java.lang.String host)
throws java.sql.SQLException
java.sql.SQLExceptionpublic void removeSlave(java.lang.String host,
boolean closeGently)
throws java.sql.SQLException
java.sql.SQLExceptionpublic void addSlaveHost(java.lang.String host)
throws java.sql.SQLException
java.sql.SQLExceptionpublic void promoteSlaveToMaster(java.lang.String host)
throws java.sql.SQLException
java.sql.SQLExceptionpublic void removeMasterHost(java.lang.String host)
throws java.sql.SQLException
java.sql.SQLExceptionpublic void removeMasterHost(java.lang.String host,
boolean waitUntilNotInUse)
throws java.sql.SQLException
java.sql.SQLExceptionpublic void removeMasterHost(java.lang.String host,
boolean waitUntilNotInUse,
boolean isNowSlave)
throws java.sql.SQLException
java.sql.SQLExceptionpublic java.sql.Statement createStatement()
throws java.sql.SQLException
createStatement in interface java.sql.Connectionjava.sql.SQLExceptionpublic java.sql.Statement createStatement(int resultSetType,
int resultSetConcurrency)
throws java.sql.SQLException
createStatement in interface java.sql.Connectionjava.sql.SQLExceptionpublic java.sql.Statement createStatement(int resultSetType,
int resultSetConcurrency,
int resultSetHoldability)
throws java.sql.SQLException
createStatement in interface java.sql.Connectionjava.sql.SQLExceptionpublic boolean getAutoCommit()
throws java.sql.SQLException
getAutoCommit in interface java.sql.Connectionjava.sql.SQLExceptionpublic java.lang.String getCatalog()
throws java.sql.SQLException
getCatalog in interface java.sql.Connectionjava.sql.SQLExceptionpublic Connection getCurrentConnection()
public int getHoldability()
throws java.sql.SQLException
getHoldability in interface java.sql.Connectionjava.sql.SQLExceptionpublic Connection getMasterConnection()
public java.sql.DatabaseMetaData getMetaData()
throws java.sql.SQLException
getMetaData in interface java.sql.Connectionjava.sql.SQLExceptionpublic Connection getSlavesConnection()
public int getTransactionIsolation()
throws java.sql.SQLException
getTransactionIsolation in interface java.sql.Connectionjava.sql.SQLExceptionpublic java.util.Map<java.lang.String,java.lang.Class<?>> getTypeMap()
throws java.sql.SQLException
getTypeMap in interface java.sql.Connectionjava.sql.SQLExceptionpublic java.sql.SQLWarning getWarnings()
throws java.sql.SQLException
getWarnings in interface java.sql.Connectionjava.sql.SQLExceptionpublic boolean isClosed()
throws java.sql.SQLException
isClosed in interface java.sql.Connectionjava.sql.SQLExceptionpublic boolean isReadOnly()
throws java.sql.SQLException
isReadOnly in interface java.sql.Connectionjava.sql.SQLExceptionpublic java.lang.String nativeSQL(java.lang.String sql)
throws java.sql.SQLException
nativeSQL in interface java.sql.Connectionjava.sql.SQLExceptionpublic java.sql.CallableStatement prepareCall(java.lang.String sql)
throws java.sql.SQLException
prepareCall in interface java.sql.Connectionjava.sql.SQLExceptionpublic java.sql.CallableStatement prepareCall(java.lang.String sql,
int resultSetType,
int resultSetConcurrency)
throws java.sql.SQLException
prepareCall in interface java.sql.Connectionjava.sql.SQLExceptionpublic java.sql.CallableStatement prepareCall(java.lang.String sql,
int resultSetType,
int resultSetConcurrency,
int resultSetHoldability)
throws java.sql.SQLException
prepareCall in interface java.sql.Connectionjava.sql.SQLExceptionpublic java.sql.PreparedStatement prepareStatement(java.lang.String sql)
throws java.sql.SQLException
prepareStatement in interface java.sql.Connectionjava.sql.SQLExceptionpublic java.sql.PreparedStatement prepareStatement(java.lang.String sql,
int autoGeneratedKeys)
throws java.sql.SQLException
prepareStatement in interface java.sql.Connectionjava.sql.SQLExceptionpublic java.sql.PreparedStatement prepareStatement(java.lang.String sql,
int resultSetType,
int resultSetConcurrency)
throws java.sql.SQLException
prepareStatement in interface java.sql.Connectionjava.sql.SQLExceptionpublic java.sql.PreparedStatement prepareStatement(java.lang.String sql,
int resultSetType,
int resultSetConcurrency,
int resultSetHoldability)
throws java.sql.SQLException
prepareStatement in interface java.sql.Connectionjava.sql.SQLExceptionpublic java.sql.PreparedStatement prepareStatement(java.lang.String sql,
int[] columnIndexes)
throws java.sql.SQLException
prepareStatement in interface java.sql.Connectionjava.sql.SQLExceptionpublic java.sql.PreparedStatement prepareStatement(java.lang.String sql,
java.lang.String[] columnNames)
throws java.sql.SQLException
prepareStatement in interface java.sql.Connectionjava.sql.SQLExceptionpublic void releaseSavepoint(java.sql.Savepoint savepoint)
throws java.sql.SQLException
releaseSavepoint in interface java.sql.Connectionjava.sql.SQLExceptionpublic void rollback()
throws java.sql.SQLException
rollback in interface java.sql.Connectionjava.sql.SQLExceptionpublic void rollback(java.sql.Savepoint savepoint)
throws java.sql.SQLException
rollback in interface java.sql.Connectionjava.sql.SQLExceptionpublic void setAutoCommit(boolean autoCommit)
throws java.sql.SQLException
setAutoCommit in interface java.sql.Connectionjava.sql.SQLExceptionpublic void setCatalog(java.lang.String catalog)
throws java.sql.SQLException
setCatalog in interface java.sql.Connectionjava.sql.SQLExceptionpublic void setHoldability(int holdability)
throws java.sql.SQLException
setHoldability in interface java.sql.Connectionjava.sql.SQLExceptionpublic void setReadOnly(boolean readOnly)
throws java.sql.SQLException
setReadOnly in interface java.sql.Connectionjava.sql.SQLExceptionpublic java.sql.Savepoint setSavepoint()
throws java.sql.SQLException
setSavepoint in interface java.sql.Connectionjava.sql.SQLExceptionpublic java.sql.Savepoint setSavepoint(java.lang.String name)
throws java.sql.SQLException
setSavepoint in interface java.sql.Connectionjava.sql.SQLExceptionpublic void setTransactionIsolation(int level)
throws java.sql.SQLException
setTransactionIsolation in interface java.sql.Connectionjava.sql.SQLExceptionpublic void doPing()
throws java.sql.SQLException
doPing in interface PingTargetjava.sql.SQLExceptionpublic void changeUser(java.lang.String userName,
java.lang.String newPassword)
throws java.sql.SQLException
ConnectionuserName - the username to authenticate withnewPassword - the password to authenticate withjava.sql.SQLException - if authentication fails, or some other error occurs while
performing the command.public void clearHasTriedMaster()
public java.sql.PreparedStatement clientPrepareStatement(java.lang.String sql)
throws java.sql.SQLException
Connectionjava.sql.SQLExceptionConnection.prepareStatement(String)public java.sql.PreparedStatement clientPrepareStatement(java.lang.String sql,
int autoGenKeyIndex)
throws java.sql.SQLException
Connectionjava.sql.SQLExceptionConnection.prepareStatement(String, int)public java.sql.PreparedStatement clientPrepareStatement(java.lang.String sql,
int resultSetType,
int resultSetConcurrency)
throws java.sql.SQLException
Connectionjava.sql.SQLExceptionConnection.prepareStatement(String, int, int)public java.sql.PreparedStatement clientPrepareStatement(java.lang.String sql,
int[] autoGenKeyIndexes)
throws java.sql.SQLException
Connectionjava.sql.SQLExceptionConnection.prepareStatement(String, int[])public java.sql.PreparedStatement clientPrepareStatement(java.lang.String sql,
int resultSetType,
int resultSetConcurrency,
int resultSetHoldability)
throws java.sql.SQLException
Connectionjava.sql.SQLExceptionConnection.prepareStatement(String, int, int, int)public java.sql.PreparedStatement clientPrepareStatement(java.lang.String sql,
java.lang.String[] autoGenKeyColNames)
throws java.sql.SQLException
Connectionjava.sql.SQLExceptionConnection.prepareStatement(String, String[])public int getActiveStatementCount()
Connectionpublic long getIdleFor()
Connectionpublic com.mysql.jdbc.log.Log getLog()
throws java.sql.SQLException
Connectionjava.sql.SQLException - if an error occurs@Deprecated public java.lang.String getServerCharacterEncoding()
getServerCharset()Connectionpublic java.lang.String getServerCharset()
Connectionpublic java.util.TimeZone getServerTimezoneTZ()
Connectionpublic java.lang.String getStatementComment()
Connectionpublic boolean hasTriedMaster()
Connectionpublic void initializeExtension(Extension ex) throws java.sql.SQLException
java.sql.SQLExceptionpublic boolean isAbonormallyLongQuery(long millisOrNanos)
public boolean isInGlobalTx()
Connectionpublic boolean isMasterConnection()
Connectionpublic boolean isNoBackslashEscapesSet()
Connectionpublic boolean lowerCaseTableNames()
Connectionpublic boolean parserKnowsUnicode()
Connectionpublic void ping()
throws java.sql.SQLException
Connectionjava.sql.SQLException - if the ping failspublic void reportQueryTime(long millisOrNanos)
public void resetServerState()
throws java.sql.SQLException
Connectionjava.sql.SQLException - if the operation fails while resetting server state.public java.sql.PreparedStatement serverPrepareStatement(java.lang.String sql)
throws java.sql.SQLException
Connectionjava.sql.SQLExceptionConnection.prepareStatement(String)public java.sql.PreparedStatement serverPrepareStatement(java.lang.String sql,
int autoGenKeyIndex)
throws java.sql.SQLException
Connectionjava.sql.SQLExceptionConnection.prepareStatement(String, int)public java.sql.PreparedStatement serverPrepareStatement(java.lang.String sql,
int resultSetType,
int resultSetConcurrency)
throws java.sql.SQLException
Connectionjava.sql.SQLExceptionConnection.prepareStatement(String, int, int)public java.sql.PreparedStatement serverPrepareStatement(java.lang.String sql,
int resultSetType,
int resultSetConcurrency,
int resultSetHoldability)
throws java.sql.SQLException
Connectionjava.sql.SQLExceptionConnection.prepareStatement(String, int, int, int)public java.sql.PreparedStatement serverPrepareStatement(java.lang.String sql,
int[] autoGenKeyIndexes)
throws java.sql.SQLException
Connectionjava.sql.SQLExceptionConnection.prepareStatement(String, int[])public java.sql.PreparedStatement serverPrepareStatement(java.lang.String sql,
java.lang.String[] autoGenKeyColNames)
throws java.sql.SQLException
Connectionjava.sql.SQLExceptionConnection.prepareStatement(String, String[])public void setFailedOver(boolean flag)
public void setPreferSlaveDuringFailover(boolean flag)
public void setStatementComment(java.lang.String comment)
Connectioncomment - the comment that will be prepended to all statements
sent to the server.public void shutdownServer()
throws java.sql.SQLException
Connectionjava.sql.SQLException - if the command can not be issued.public boolean supportsIsolationLevel()
Connectionpublic boolean supportsQuotedIdentifiers()
Connectionpublic boolean supportsTransactions()
Connectionpublic boolean versionMeetsMinimum(int major,
int minor,
int subminor)
throws java.sql.SQLException
Connectionjava.sql.SQLExceptionpublic java.lang.String exposeAsXml()
throws java.sql.SQLException
ConnectionPropertiesexposeAsXml in interface ConnectionPropertiesjava.sql.SQLException - if an error occurs.public boolean getAllowLoadLocalInfile()
getAllowLoadLocalInfile in interface ConnectionPropertiespublic boolean getAllowMultiQueries()
getAllowMultiQueries in interface ConnectionPropertiespublic boolean getAllowNanAndInf()
getAllowNanAndInf in interface ConnectionPropertiespublic boolean getAllowUrlInLocalInfile()
getAllowUrlInLocalInfile in interface ConnectionPropertiespublic boolean getAlwaysSendSetIsolation()
getAlwaysSendSetIsolation in interface ConnectionPropertiespublic boolean getAutoClosePStmtStreams()
getAutoClosePStmtStreams in interface ConnectionPropertiespublic boolean getAutoDeserialize()
getAutoDeserialize in interface ConnectionPropertiespublic boolean getAutoGenerateTestcaseScript()
getAutoGenerateTestcaseScript in interface ConnectionPropertiespublic boolean getAutoReconnectForPools()
getAutoReconnectForPools in interface ConnectionPropertiespublic boolean getAutoSlowLog()
getAutoSlowLog in interface ConnectionPropertiespublic int getBlobSendChunkSize()
getBlobSendChunkSize in interface ConnectionPropertiespublic boolean getBlobsAreStrings()
getBlobsAreStrings in interface ConnectionPropertiespublic boolean getCacheCallableStatements()
getCacheCallableStatements in interface ConnectionPropertiespublic boolean getCacheCallableStmts()
getCacheCallableStmts in interface ConnectionPropertiespublic boolean getCachePrepStmts()
getCachePrepStmts in interface ConnectionPropertiespublic boolean getCachePreparedStatements()
getCachePreparedStatements in interface ConnectionPropertiespublic boolean getCacheResultSetMetadata()
getCacheResultSetMetadata in interface ConnectionPropertiespublic boolean getCacheServerConfiguration()
getCacheServerConfiguration in interface ConnectionPropertiespublic int getCallableStatementCacheSize()
getCallableStatementCacheSize in interface ConnectionPropertiespublic int getCallableStmtCacheSize()
getCallableStmtCacheSize in interface ConnectionPropertiespublic boolean getCapitalizeTypeNames()
getCapitalizeTypeNames in interface ConnectionPropertiespublic java.lang.String getCharacterSetResults()
getCharacterSetResults in interface ConnectionPropertiespublic java.lang.String getClientCertificateKeyStorePassword()
getClientCertificateKeyStorePassword in interface ConnectionPropertiespublic java.lang.String getClientCertificateKeyStoreType()
getClientCertificateKeyStoreType in interface ConnectionPropertiespublic java.lang.String getClientCertificateKeyStoreUrl()
getClientCertificateKeyStoreUrl in interface ConnectionPropertiespublic java.lang.String getClientInfoProvider()
getClientInfoProvider in interface ConnectionPropertiespublic java.lang.String getClobCharacterEncoding()
getClobCharacterEncoding in interface ConnectionPropertiespublic boolean getClobberStreamingResults()
getClobberStreamingResults in interface ConnectionPropertiespublic int getConnectTimeout()
getConnectTimeout in interface ConnectionPropertiespublic java.lang.String getConnectionCollation()
getConnectionCollation in interface ConnectionPropertiespublic java.lang.String getConnectionLifecycleInterceptors()
getConnectionLifecycleInterceptors in interface ConnectionPropertiespublic boolean getContinueBatchOnError()
getContinueBatchOnError in interface ConnectionPropertiespublic boolean getCreateDatabaseIfNotExist()
getCreateDatabaseIfNotExist in interface ConnectionPropertiespublic int getDefaultFetchSize()
getDefaultFetchSize in interface ConnectionPropertiespublic boolean getDontTrackOpenResources()
getDontTrackOpenResources in interface ConnectionPropertiespublic boolean getDumpMetadataOnColumnNotFound()
getDumpMetadataOnColumnNotFound in interface ConnectionPropertiespublic boolean getDumpQueriesOnException()
getDumpQueriesOnException in interface ConnectionPropertiespublic boolean getDynamicCalendars()
getDynamicCalendars in interface ConnectionPropertiespublic boolean getElideSetAutoCommits()
getElideSetAutoCommits in interface ConnectionPropertiespublic boolean getEmptyStringsConvertToZero()
getEmptyStringsConvertToZero in interface ConnectionPropertiespublic boolean getEmulateLocators()
getEmulateLocators in interface ConnectionPropertiespublic boolean getEmulateUnsupportedPstmts()
getEmulateUnsupportedPstmts in interface ConnectionPropertiespublic boolean getEnablePacketDebug()
getEnablePacketDebug in interface ConnectionPropertiespublic boolean getEnableQueryTimeouts()
getEnableQueryTimeouts in interface ConnectionPropertiespublic java.lang.String getEncoding()
getEncoding in interface ConnectionPropertiespublic boolean getExplainSlowQueries()
getExplainSlowQueries in interface ConnectionPropertiespublic boolean getFailOverReadOnly()
getFailOverReadOnly in interface ConnectionPropertiespublic boolean getFunctionsNeverReturnBlobs()
getFunctionsNeverReturnBlobs in interface ConnectionPropertiespublic boolean getGatherPerfMetrics()
getGatherPerfMetrics in interface ConnectionPropertiespublic boolean getGatherPerformanceMetrics()
getGatherPerformanceMetrics in interface ConnectionPropertiespublic boolean getGenerateSimpleParameterMetadata()
getGenerateSimpleParameterMetadata in interface ConnectionPropertiespublic boolean getHoldResultsOpenOverStatementClose()
getHoldResultsOpenOverStatementClose in interface ConnectionPropertiespublic boolean getIgnoreNonTxTables()
getIgnoreNonTxTables in interface ConnectionPropertiespublic boolean getIncludeInnodbStatusInDeadlockExceptions()
getIncludeInnodbStatusInDeadlockExceptions in interface ConnectionPropertiespublic int getInitialTimeout()
getInitialTimeout in interface ConnectionPropertiespublic boolean getInteractiveClient()
getInteractiveClient in interface ConnectionPropertiespublic boolean getIsInteractiveClient()
getIsInteractiveClient in interface ConnectionPropertiespublic boolean getJdbcCompliantTruncation()
getJdbcCompliantTruncation in interface ConnectionPropertiespublic boolean getJdbcCompliantTruncationForReads()
getJdbcCompliantTruncationForReads in interface ConnectionPropertiespublic java.lang.String getLargeRowSizeThreshold()
getLargeRowSizeThreshold in interface ConnectionPropertiespublic java.lang.String getLoadBalanceStrategy()
getLoadBalanceStrategy in interface ConnectionPropertiespublic java.lang.String getLocalSocketAddress()
getLocalSocketAddress in interface ConnectionPropertiespublic int getLocatorFetchBufferSize()
getLocatorFetchBufferSize in interface ConnectionPropertiespublic boolean getLogSlowQueries()
getLogSlowQueries in interface ConnectionPropertiespublic boolean getLogXaCommands()
getLogXaCommands in interface ConnectionPropertiespublic java.lang.String getLogger()
getLogger in interface ConnectionPropertiespublic java.lang.String getLoggerClassName()
getLoggerClassName in interface ConnectionPropertiespublic boolean getMaintainTimeStats()
getMaintainTimeStats in interface ConnectionPropertiespublic int getMaxQuerySizeToLog()
getMaxQuerySizeToLog in interface ConnectionPropertiespublic int getMaxReconnects()
getMaxReconnects in interface ConnectionPropertiespublic int getMaxRows()
getMaxRows in interface ConnectionPropertiespublic int getMetadataCacheSize()
ConnectionPropertiesgetMetadataCacheSize in interface ConnectionPropertiespublic int getNetTimeoutForStreamingResults()
getNetTimeoutForStreamingResults in interface ConnectionPropertiespublic boolean getNoAccessToProcedureBodies()
getNoAccessToProcedureBodies in interface ConnectionPropertiespublic boolean getNoDatetimeStringSync()
getNoDatetimeStringSync in interface ConnectionPropertiespublic boolean getNoTimezoneConversionForTimeType()
getNoTimezoneConversionForTimeType in interface ConnectionPropertiespublic boolean getNoTimezoneConversionForDateType()
getNoTimezoneConversionForDateType in interface ConnectionPropertiespublic boolean getCacheDefaultTimezone()
getCacheDefaultTimezone in interface ConnectionPropertiespublic boolean getNullCatalogMeansCurrent()
getNullCatalogMeansCurrent in interface ConnectionPropertiespublic boolean getNullNamePatternMatchesAll()
getNullNamePatternMatchesAll in interface ConnectionPropertiespublic boolean getOverrideSupportsIntegrityEnhancementFacility()
getOverrideSupportsIntegrityEnhancementFacility in interface ConnectionPropertiespublic int getPacketDebugBufferSize()
getPacketDebugBufferSize in interface ConnectionPropertiespublic boolean getPadCharsWithSpace()
getPadCharsWithSpace in interface ConnectionPropertiespublic boolean getParanoid()
getParanoid in interface ConnectionPropertiespublic boolean getPedantic()
getPedantic in interface ConnectionPropertiespublic boolean getPinGlobalTxToPhysicalConnection()
getPinGlobalTxToPhysicalConnection in interface ConnectionPropertiespublic boolean getPopulateInsertRowWithDefaultValues()
getPopulateInsertRowWithDefaultValues in interface ConnectionPropertiespublic int getPrepStmtCacheSize()
getPrepStmtCacheSize in interface ConnectionPropertiespublic int getPrepStmtCacheSqlLimit()
getPrepStmtCacheSqlLimit in interface ConnectionPropertiespublic int getPreparedStatementCacheSize()
getPreparedStatementCacheSize in interface ConnectionPropertiespublic int getPreparedStatementCacheSqlLimit()
getPreparedStatementCacheSqlLimit in interface ConnectionPropertiespublic boolean getProcessEscapeCodesForPrepStmts()
getProcessEscapeCodesForPrepStmts in interface ConnectionPropertiespublic boolean getProfileSQL()
getProfileSQL in interface ConnectionPropertiespublic boolean getProfileSql()
getProfileSql in interface ConnectionPropertiespublic java.lang.String getProfilerEventHandler()
getProfilerEventHandler in interface ConnectionPropertiespublic java.lang.String getPropertiesTransform()
getPropertiesTransform in interface ConnectionPropertiespublic int getQueriesBeforeRetryMaster()
getQueriesBeforeRetryMaster in interface ConnectionPropertiespublic boolean getReconnectAtTxEnd()
getReconnectAtTxEnd in interface ConnectionPropertiespublic boolean getRelaxAutoCommit()
getRelaxAutoCommit in interface ConnectionPropertiespublic int getReportMetricsIntervalMillis()
getReportMetricsIntervalMillis in interface ConnectionPropertiespublic boolean getRequireSSL()
getRequireSSL in interface ConnectionPropertiespublic java.lang.String getResourceId()
getResourceId in interface ConnectionPropertiespublic int getResultSetSizeThreshold()
getResultSetSizeThreshold in interface ConnectionPropertiespublic boolean getRewriteBatchedStatements()
getRewriteBatchedStatements in interface ConnectionPropertiespublic boolean getRollbackOnPooledClose()
getRollbackOnPooledClose in interface ConnectionPropertiespublic boolean getRoundRobinLoadBalance()
ConnectionPropertiesgetRoundRobinLoadBalance in interface ConnectionPropertiespublic boolean getRunningCTS13()
getRunningCTS13 in interface ConnectionPropertiespublic int getSecondsBeforeRetryMaster()
getSecondsBeforeRetryMaster in interface ConnectionPropertiespublic int getSelfDestructOnPingMaxOperations()
getSelfDestructOnPingMaxOperations in interface ConnectionPropertiespublic int getSelfDestructOnPingSecondsLifetime()
getSelfDestructOnPingSecondsLifetime in interface ConnectionPropertiespublic java.lang.String getServerTimezone()
ConnectionPropertiesgetServerTimezone in interface ConnectionPropertiespublic java.lang.String getSessionVariables()
getSessionVariables in interface ConnectionPropertiespublic int getSlowQueryThresholdMillis()
getSlowQueryThresholdMillis in interface ConnectionPropertiespublic long getSlowQueryThresholdNanos()
getSlowQueryThresholdNanos in interface ConnectionPropertiespublic java.lang.String getSocketFactory()
getSocketFactory in interface ConnectionPropertiespublic java.lang.String getSocketFactoryClassName()
getSocketFactoryClassName in interface ConnectionPropertiespublic int getSocketTimeout()
getSocketTimeout in interface ConnectionPropertiespublic java.lang.String getStatementInterceptors()
getStatementInterceptors in interface ConnectionPropertiespublic boolean getStrictFloatingPoint()
getStrictFloatingPoint in interface ConnectionPropertiespublic boolean getStrictUpdates()
getStrictUpdates in interface ConnectionPropertiespublic boolean getTcpKeepAlive()
getTcpKeepAlive in interface ConnectionPropertiespublic boolean getTcpNoDelay()
getTcpNoDelay in interface ConnectionPropertiespublic int getTcpRcvBuf()
getTcpRcvBuf in interface ConnectionPropertiespublic int getTcpSndBuf()
getTcpSndBuf in interface ConnectionPropertiespublic int getTcpTrafficClass()
getTcpTrafficClass in interface ConnectionPropertiespublic boolean getTinyInt1isBit()
getTinyInt1isBit in interface ConnectionPropertiespublic boolean getTraceProtocol()
getTraceProtocol in interface ConnectionPropertiespublic boolean getTransformedBitIsBoolean()
getTransformedBitIsBoolean in interface ConnectionPropertiespublic boolean getTreatUtilDateAsTimestamp()
getTreatUtilDateAsTimestamp in interface ConnectionPropertiespublic java.lang.String getTrustCertificateKeyStorePassword()
getTrustCertificateKeyStorePassword in interface ConnectionPropertiespublic java.lang.String getTrustCertificateKeyStoreType()
getTrustCertificateKeyStoreType in interface ConnectionPropertiespublic java.lang.String getTrustCertificateKeyStoreUrl()
getTrustCertificateKeyStoreUrl in interface ConnectionPropertiespublic boolean getUltraDevHack()
getUltraDevHack in interface ConnectionPropertiespublic boolean getUseBlobToStoreUTF8OutsideBMP()
getUseBlobToStoreUTF8OutsideBMP in interface ConnectionPropertiespublic boolean getUseCompression()
getUseCompression in interface ConnectionPropertiespublic java.lang.String getUseConfigs()
getUseConfigs in interface ConnectionPropertiespublic boolean getUseCursorFetch()
getUseCursorFetch in interface ConnectionPropertiespublic boolean getUseDirectRowUnpack()
getUseDirectRowUnpack in interface ConnectionPropertiespublic boolean getUseDynamicCharsetInfo()
getUseDynamicCharsetInfo in interface ConnectionPropertiespublic boolean getUseFastDateParsing()
getUseFastDateParsing in interface ConnectionPropertiespublic boolean getUseFastIntParsing()
getUseFastIntParsing in interface ConnectionPropertiespublic boolean getUseGmtMillisForDatetimes()
getUseGmtMillisForDatetimes in interface ConnectionPropertiespublic boolean getUseHostsInPrivileges()
getUseHostsInPrivileges in interface ConnectionPropertiespublic boolean getUseInformationSchema()
getUseInformationSchema in interface ConnectionPropertiespublic boolean getUseJDBCCompliantTimezoneShift()
getUseJDBCCompliantTimezoneShift in interface ConnectionPropertiespublic boolean getUseJvmCharsetConverters()
getUseJvmCharsetConverters in interface ConnectionPropertiespublic boolean getUseLegacyDatetimeCode()
getUseLegacyDatetimeCode in interface ConnectionPropertiespublic boolean getUseLocalSessionState()
getUseLocalSessionState in interface ConnectionPropertiespublic boolean getUseNanosForElapsedTime()
getUseNanosForElapsedTime in interface ConnectionPropertiespublic boolean getUseOldAliasMetadataBehavior()
getUseOldAliasMetadataBehavior in interface ConnectionPropertiespublic boolean getUseOldUTF8Behavior()
getUseOldUTF8Behavior in interface ConnectionPropertiespublic boolean getUseOnlyServerErrorMessages()
getUseOnlyServerErrorMessages in interface ConnectionPropertiespublic boolean getUseReadAheadInput()
getUseReadAheadInput in interface ConnectionPropertiespublic boolean getUseSSL()
getUseSSL in interface ConnectionPropertiespublic boolean getUseSSPSCompatibleTimezoneShift()
getUseSSPSCompatibleTimezoneShift in interface ConnectionPropertiespublic boolean getUseServerPrepStmts()
getUseServerPrepStmts in interface ConnectionPropertiespublic boolean getUseServerPreparedStmts()
getUseServerPreparedStmts in interface ConnectionPropertiespublic boolean getUseSqlStateCodes()
getUseSqlStateCodes in interface ConnectionPropertiespublic boolean getUseStreamLengthsInPrepStmts()
getUseStreamLengthsInPrepStmts in interface ConnectionPropertiespublic boolean getUseTimezone()
getUseTimezone in interface ConnectionPropertiespublic boolean getUseUltraDevWorkAround()
getUseUltraDevWorkAround in interface ConnectionPropertiespublic boolean getUseUnbufferedInput()
getUseUnbufferedInput in interface ConnectionPropertiespublic boolean getUseUnicode()
getUseUnicode in interface ConnectionPropertiespublic boolean getUseUsageAdvisor()
ConnectionPropertiesgetUseUsageAdvisor in interface ConnectionPropertiespublic java.lang.String getUtf8OutsideBmpExcludedColumnNamePattern()
getUtf8OutsideBmpExcludedColumnNamePattern in interface ConnectionPropertiespublic java.lang.String getUtf8OutsideBmpIncludedColumnNamePattern()
getUtf8OutsideBmpIncludedColumnNamePattern in interface ConnectionPropertiespublic boolean getVerifyServerCertificate()
getVerifyServerCertificate in interface ConnectionPropertiespublic boolean getYearIsDateType()
getYearIsDateType in interface ConnectionPropertiespublic java.lang.String getZeroDateTimeBehavior()
getZeroDateTimeBehavior in interface ConnectionPropertiespublic void setAllowLoadLocalInfile(boolean property)
setAllowLoadLocalInfile in interface ConnectionPropertiespublic void setAllowMultiQueries(boolean property)
setAllowMultiQueries in interface ConnectionPropertiespublic void setAllowNanAndInf(boolean flag)
setAllowNanAndInf in interface ConnectionPropertiespublic void setAllowUrlInLocalInfile(boolean flag)
setAllowUrlInLocalInfile in interface ConnectionPropertiespublic void setAlwaysSendSetIsolation(boolean flag)
setAlwaysSendSetIsolation in interface ConnectionPropertiespublic void setAutoClosePStmtStreams(boolean flag)
setAutoClosePStmtStreams in interface ConnectionPropertiespublic void setAutoDeserialize(boolean flag)
setAutoDeserialize in interface ConnectionPropertiespublic void setAutoGenerateTestcaseScript(boolean flag)
setAutoGenerateTestcaseScript in interface ConnectionPropertiespublic void setAutoReconnect(boolean flag)
setAutoReconnect in interface ConnectionPropertiesflag - The autoReconnect to set.public void setAutoReconnectForConnectionPools(boolean property)
setAutoReconnectForConnectionPools in interface ConnectionPropertiespublic void setAutoReconnectForPools(boolean flag)
setAutoReconnectForPools in interface ConnectionPropertiesflag - The autoReconnectForPools to set.public void setAutoSlowLog(boolean flag)
setAutoSlowLog in interface ConnectionPropertiespublic void setBlobSendChunkSize(java.lang.String value)
throws java.sql.SQLException
setBlobSendChunkSize in interface ConnectionPropertiesjava.sql.SQLExceptionpublic void setBlobsAreStrings(boolean flag)
setBlobsAreStrings in interface ConnectionPropertiespublic void setCacheCallableStatements(boolean flag)
setCacheCallableStatements in interface ConnectionPropertiesflag - The cacheCallableStatements to set.public void setCacheCallableStmts(boolean flag)
setCacheCallableStmts in interface ConnectionPropertiespublic void setCachePrepStmts(boolean flag)
setCachePrepStmts in interface ConnectionPropertiespublic void setCachePreparedStatements(boolean flag)
setCachePreparedStatements in interface ConnectionPropertiesflag - The cachePreparedStatements to set.public void setCacheResultSetMetadata(boolean property)
ConnectionPropertiessetCacheResultSetMetadata in interface ConnectionPropertiespublic void setCacheServerConfiguration(boolean flag)
setCacheServerConfiguration in interface ConnectionPropertiespublic void setCallableStatementCacheSize(int size)
ConnectionPropertiessetCallableStatementCacheSize in interface ConnectionPropertiessize - The callableStatementCacheSize to set.public void setCallableStmtCacheSize(int cacheSize)
setCallableStmtCacheSize in interface ConnectionPropertiespublic void setCapitalizeDBMDTypes(boolean property)
setCapitalizeDBMDTypes in interface ConnectionPropertiespublic void setCapitalizeTypeNames(boolean flag)
setCapitalizeTypeNames in interface ConnectionPropertiesflag - The capitalizeTypeNames to set.public void setCharacterEncoding(java.lang.String encoding)
setCharacterEncoding in interface ConnectionPropertiesencoding - The characterEncoding to set.public void setCharacterSetResults(java.lang.String characterSet)
setCharacterSetResults in interface ConnectionPropertiescharacterSet - The characterSetResults to set.public void setClientCertificateKeyStorePassword(java.lang.String value)
setClientCertificateKeyStorePassword in interface ConnectionPropertiespublic void setClientCertificateKeyStoreType(java.lang.String value)
setClientCertificateKeyStoreType in interface ConnectionPropertiespublic void setClientCertificateKeyStoreUrl(java.lang.String value)
setClientCertificateKeyStoreUrl in interface ConnectionPropertiespublic void setClientInfoProvider(java.lang.String classname)
setClientInfoProvider in interface ConnectionPropertiespublic void setClobCharacterEncoding(java.lang.String encoding)
setClobCharacterEncoding in interface ConnectionPropertiespublic void setClobberStreamingResults(boolean flag)
setClobberStreamingResults in interface ConnectionPropertiesflag - The clobberStreamingResults to set.public void setConnectTimeout(int timeoutMs)
setConnectTimeout in interface ConnectionPropertiespublic void setConnectionCollation(java.lang.String collation)
setConnectionCollation in interface ConnectionPropertiescollation - The connectionCollation to set.public void setConnectionLifecycleInterceptors(java.lang.String interceptors)
setConnectionLifecycleInterceptors in interface ConnectionPropertiespublic void setContinueBatchOnError(boolean property)
setContinueBatchOnError in interface ConnectionPropertiespublic void setCreateDatabaseIfNotExist(boolean flag)
setCreateDatabaseIfNotExist in interface ConnectionPropertiespublic void setDefaultFetchSize(int n)
setDefaultFetchSize in interface ConnectionPropertiespublic void setDetectServerPreparedStmts(boolean property)
setDetectServerPreparedStmts in interface ConnectionPropertiespublic void setDontTrackOpenResources(boolean flag)
setDontTrackOpenResources in interface ConnectionPropertiespublic void setDumpMetadataOnColumnNotFound(boolean flag)
setDumpMetadataOnColumnNotFound in interface ConnectionPropertiespublic void setDumpQueriesOnException(boolean flag)
setDumpQueriesOnException in interface ConnectionPropertiesflag - The dumpQueriesOnException to set.public void setDynamicCalendars(boolean flag)
setDynamicCalendars in interface ConnectionPropertiespublic void setElideSetAutoCommits(boolean flag)
setElideSetAutoCommits in interface ConnectionPropertiesflag - The elideSetAutoCommits to set.public void setEmptyStringsConvertToZero(boolean flag)
setEmptyStringsConvertToZero in interface ConnectionPropertiespublic void setEmulateLocators(boolean property)
setEmulateLocators in interface ConnectionPropertiespublic void setEmulateUnsupportedPstmts(boolean flag)
setEmulateUnsupportedPstmts in interface ConnectionPropertiespublic void setEnablePacketDebug(boolean flag)
setEnablePacketDebug in interface ConnectionPropertiesflag - The enablePacketDebug to set.public void setEnableQueryTimeouts(boolean flag)
setEnableQueryTimeouts in interface ConnectionPropertiespublic void setEncoding(java.lang.String property)
setEncoding in interface ConnectionPropertiespublic void setExplainSlowQueries(boolean flag)
setExplainSlowQueries in interface ConnectionPropertiesflag - The explainSlowQueries to set.public void setFailOverReadOnly(boolean flag)
setFailOverReadOnly in interface ConnectionPropertiesflag - The failOverReadOnly to set.public void setFunctionsNeverReturnBlobs(boolean flag)
setFunctionsNeverReturnBlobs in interface ConnectionPropertiespublic void setGatherPerfMetrics(boolean flag)
setGatherPerfMetrics in interface ConnectionPropertiespublic void setGatherPerformanceMetrics(boolean flag)
setGatherPerformanceMetrics in interface ConnectionPropertiesflag - The gatherPerformanceMetrics to set.public void setGenerateSimpleParameterMetadata(boolean flag)
setGenerateSimpleParameterMetadata in interface ConnectionPropertiespublic void setHoldResultsOpenOverStatementClose(boolean flag)
setHoldResultsOpenOverStatementClose in interface ConnectionPropertiespublic void setIgnoreNonTxTables(boolean property)
setIgnoreNonTxTables in interface ConnectionPropertiespublic void setIncludeInnodbStatusInDeadlockExceptions(boolean flag)
setIncludeInnodbStatusInDeadlockExceptions in interface ConnectionPropertiespublic void setInitialTimeout(int property)
setInitialTimeout in interface ConnectionPropertiespublic void setInteractiveClient(boolean property)
setInteractiveClient in interface ConnectionPropertiespublic void setIsInteractiveClient(boolean property)
setIsInteractiveClient in interface ConnectionPropertiespublic void setJdbcCompliantTruncation(boolean flag)
setJdbcCompliantTruncation in interface ConnectionPropertiesflag - The jdbcCompliantTruncation to set.public void setJdbcCompliantTruncationForReads(boolean jdbcCompliantTruncationForReads)
setJdbcCompliantTruncationForReads in interface ConnectionPropertiespublic void setLargeRowSizeThreshold(java.lang.String value)
setLargeRowSizeThreshold in interface ConnectionPropertiespublic void setLoadBalanceStrategy(java.lang.String strategy)
setLoadBalanceStrategy in interface ConnectionPropertiespublic void setLocalSocketAddress(java.lang.String address)
setLocalSocketAddress in interface ConnectionPropertiespublic void setLocatorFetchBufferSize(java.lang.String value)
throws java.sql.SQLException
setLocatorFetchBufferSize in interface ConnectionPropertiesjava.sql.SQLExceptionpublic void setLogSlowQueries(boolean flag)
setLogSlowQueries in interface ConnectionPropertiesflag - The logSlowQueries to set.public void setLogXaCommands(boolean flag)
setLogXaCommands in interface ConnectionPropertiespublic void setLogger(java.lang.String property)
setLogger in interface ConnectionPropertiespublic void setLoggerClassName(java.lang.String className)
setLoggerClassName in interface ConnectionPropertiesclassName - The loggerClassName to set.public void setMaintainTimeStats(boolean flag)
setMaintainTimeStats in interface ConnectionPropertiespublic void setMaxQuerySizeToLog(int sizeInBytes)
setMaxQuerySizeToLog in interface ConnectionPropertiessizeInBytes - The maxQuerySizeToLog to set.public void setMaxReconnects(int property)
setMaxReconnects in interface ConnectionPropertiespublic void setMaxRows(int property)
setMaxRows in interface ConnectionPropertiespublic void setMetadataCacheSize(int value)
ConnectionPropertiessetMetadataCacheSize in interface ConnectionPropertiesvalue - the number of queries to cache metadata for.public void setNetTimeoutForStreamingResults(int value)
setNetTimeoutForStreamingResults in interface ConnectionPropertiespublic void setNoAccessToProcedureBodies(boolean flag)
setNoAccessToProcedureBodies in interface ConnectionPropertiespublic void setNoDatetimeStringSync(boolean flag)
setNoDatetimeStringSync in interface ConnectionPropertiespublic void setNoTimezoneConversionForTimeType(boolean flag)
setNoTimezoneConversionForTimeType in interface ConnectionPropertiespublic void setNoTimezoneConversionForDateType(boolean flag)
setNoTimezoneConversionForDateType in interface ConnectionPropertiespublic void setCacheDefaultTimezone(boolean flag)
setCacheDefaultTimezone in interface ConnectionPropertiespublic void setNullCatalogMeansCurrent(boolean value)
setNullCatalogMeansCurrent in interface ConnectionPropertiespublic void setNullNamePatternMatchesAll(boolean value)
setNullNamePatternMatchesAll in interface ConnectionPropertiespublic void setOverrideSupportsIntegrityEnhancementFacility(boolean flag)
setOverrideSupportsIntegrityEnhancementFacility in interface ConnectionPropertiespublic void setPacketDebugBufferSize(int size)
setPacketDebugBufferSize in interface ConnectionPropertiessize - The packetDebugBufferSize to set.public void setPadCharsWithSpace(boolean flag)
setPadCharsWithSpace in interface ConnectionPropertiespublic void setParanoid(boolean property)
setParanoid in interface ConnectionPropertiespublic void setPedantic(boolean property)
setPedantic in interface ConnectionPropertiespublic void setPinGlobalTxToPhysicalConnection(boolean flag)
setPinGlobalTxToPhysicalConnection in interface ConnectionPropertiespublic void setPopulateInsertRowWithDefaultValues(boolean flag)
setPopulateInsertRowWithDefaultValues in interface ConnectionPropertiespublic void setPrepStmtCacheSize(int cacheSize)
setPrepStmtCacheSize in interface ConnectionPropertiespublic void setPrepStmtCacheSqlLimit(int sqlLimit)
setPrepStmtCacheSqlLimit in interface ConnectionPropertiespublic void setPreparedStatementCacheSize(int cacheSize)
setPreparedStatementCacheSize in interface ConnectionPropertiescacheSize - The preparedStatementCacheSize to set.public void setPreparedStatementCacheSqlLimit(int cacheSqlLimit)
setPreparedStatementCacheSqlLimit in interface ConnectionPropertiescacheSqlLimit - The preparedStatementCacheSqlLimit to set.public void setProcessEscapeCodesForPrepStmts(boolean flag)
setProcessEscapeCodesForPrepStmts in interface ConnectionPropertiespublic void setProfileSQL(boolean flag)
setProfileSQL in interface ConnectionPropertiesflag - The profileSQL to set.public void setProfileSql(boolean property)
setProfileSql in interface ConnectionPropertiespublic void setProfilerEventHandler(java.lang.String handler)
setProfilerEventHandler in interface ConnectionPropertiespublic void setPropertiesTransform(java.lang.String value)
setPropertiesTransform in interface ConnectionPropertiespublic void setQueriesBeforeRetryMaster(int property)
setQueriesBeforeRetryMaster in interface ConnectionPropertiespublic void setReconnectAtTxEnd(boolean property)
setReconnectAtTxEnd in interface ConnectionPropertiespublic void setRelaxAutoCommit(boolean property)
setRelaxAutoCommit in interface ConnectionPropertiespublic void setReportMetricsIntervalMillis(int millis)
setReportMetricsIntervalMillis in interface ConnectionPropertiesmillis - The reportMetricsIntervalMillis to set.public void setRequireSSL(boolean property)
setRequireSSL in interface ConnectionPropertiespublic void setResourceId(java.lang.String resourceId)
setResourceId in interface ConnectionPropertiespublic void setResultSetSizeThreshold(int threshold)
setResultSetSizeThreshold in interface ConnectionPropertiespublic void setRetainStatementAfterResultSetClose(boolean flag)
setRetainStatementAfterResultSetClose in interface ConnectionPropertiespublic void setRewriteBatchedStatements(boolean flag)
setRewriteBatchedStatements in interface ConnectionPropertiespublic void setRollbackOnPooledClose(boolean flag)
setRollbackOnPooledClose in interface ConnectionPropertiespublic void setRoundRobinLoadBalance(boolean flag)
ConnectionPropertiessetRoundRobinLoadBalance in interface ConnectionPropertiesflag - The roundRobinLoadBalance property to set.public void setRunningCTS13(boolean flag)
setRunningCTS13 in interface ConnectionPropertiespublic void setSecondsBeforeRetryMaster(int property)
setSecondsBeforeRetryMaster in interface ConnectionPropertiespublic void setSelfDestructOnPingMaxOperations(int maxOperations)
setSelfDestructOnPingMaxOperations in interface ConnectionPropertiespublic void setSelfDestructOnPingSecondsLifetime(int seconds)
setSelfDestructOnPingSecondsLifetime in interface ConnectionPropertiespublic void setServerTimezone(java.lang.String property)
setServerTimezone in interface ConnectionPropertiespublic void setSessionVariables(java.lang.String variables)
setSessionVariables in interface ConnectionPropertiespublic void setSlowQueryThresholdMillis(int millis)
setSlowQueryThresholdMillis in interface ConnectionPropertiesmillis - The slowQueryThresholdMillis to set.public void setSlowQueryThresholdNanos(long nanos)
setSlowQueryThresholdNanos in interface ConnectionPropertiespublic void setSocketFactory(java.lang.String name)
setSocketFactory in interface ConnectionPropertiespublic void setSocketFactoryClassName(java.lang.String property)
setSocketFactoryClassName in interface ConnectionPropertiespublic void setSocketTimeout(int property)
setSocketTimeout in interface ConnectionPropertiespublic void setStatementInterceptors(java.lang.String value)
setStatementInterceptors in interface ConnectionPropertiespublic void setStrictFloatingPoint(boolean property)
setStrictFloatingPoint in interface ConnectionPropertiespublic void setStrictUpdates(boolean property)
setStrictUpdates in interface ConnectionPropertiespublic void setTcpKeepAlive(boolean flag)
setTcpKeepAlive in interface ConnectionPropertiespublic void setTcpNoDelay(boolean flag)
setTcpNoDelay in interface ConnectionPropertiespublic void setTcpRcvBuf(int bufSize)
setTcpRcvBuf in interface ConnectionPropertiespublic void setTcpSndBuf(int bufSize)
setTcpSndBuf in interface ConnectionPropertiespublic void setTcpTrafficClass(int classFlags)
setTcpTrafficClass in interface ConnectionPropertiespublic void setTinyInt1isBit(boolean flag)
setTinyInt1isBit in interface ConnectionPropertiespublic void setTraceProtocol(boolean flag)
setTraceProtocol in interface ConnectionPropertiesflag - The logProtocol to set.public void setTransformedBitIsBoolean(boolean flag)
setTransformedBitIsBoolean in interface ConnectionPropertiespublic void setTreatUtilDateAsTimestamp(boolean flag)
setTreatUtilDateAsTimestamp in interface ConnectionPropertiespublic void setTrustCertificateKeyStorePassword(java.lang.String value)
setTrustCertificateKeyStorePassword in interface ConnectionPropertiespublic void setTrustCertificateKeyStoreType(java.lang.String value)
setTrustCertificateKeyStoreType in interface ConnectionPropertiespublic void setTrustCertificateKeyStoreUrl(java.lang.String value)
setTrustCertificateKeyStoreUrl in interface ConnectionPropertiespublic void setUltraDevHack(boolean flag)
setUltraDevHack in interface ConnectionPropertiespublic void setUseBlobToStoreUTF8OutsideBMP(boolean flag)
setUseBlobToStoreUTF8OutsideBMP in interface ConnectionPropertiespublic void setUseCompression(boolean property)
setUseCompression in interface ConnectionPropertiespublic void setUseConfigs(java.lang.String configs)
setUseConfigs in interface ConnectionPropertiespublic void setUseCursorFetch(boolean flag)
setUseCursorFetch in interface ConnectionPropertiespublic void setUseDirectRowUnpack(boolean flag)
setUseDirectRowUnpack in interface ConnectionPropertiespublic void setUseDynamicCharsetInfo(boolean flag)
setUseDynamicCharsetInfo in interface ConnectionPropertiespublic void setUseFastDateParsing(boolean flag)
setUseFastDateParsing in interface ConnectionPropertiespublic void setUseFastIntParsing(boolean flag)
setUseFastIntParsing in interface ConnectionPropertiespublic void setUseGmtMillisForDatetimes(boolean flag)
setUseGmtMillisForDatetimes in interface ConnectionPropertiespublic void setUseHostsInPrivileges(boolean property)
setUseHostsInPrivileges in interface ConnectionPropertiespublic void setUseInformationSchema(boolean flag)
setUseInformationSchema in interface ConnectionPropertiespublic void setUseJDBCCompliantTimezoneShift(boolean flag)
setUseJDBCCompliantTimezoneShift in interface ConnectionPropertiespublic void setUseJvmCharsetConverters(boolean flag)
setUseJvmCharsetConverters in interface ConnectionPropertiespublic void setUseLegacyDatetimeCode(boolean flag)
setUseLegacyDatetimeCode in interface ConnectionPropertiespublic void setUseLocalSessionState(boolean flag)
setUseLocalSessionState in interface ConnectionPropertiespublic void setUseNanosForElapsedTime(boolean flag)
setUseNanosForElapsedTime in interface ConnectionPropertiespublic void setUseOldAliasMetadataBehavior(boolean flag)
setUseOldAliasMetadataBehavior in interface ConnectionPropertiespublic void setUseOldUTF8Behavior(boolean flag)
setUseOldUTF8Behavior in interface ConnectionPropertiespublic void setUseOnlyServerErrorMessages(boolean flag)
setUseOnlyServerErrorMessages in interface ConnectionPropertiespublic void setUseReadAheadInput(boolean flag)
setUseReadAheadInput in interface ConnectionPropertiespublic void setUseSSL(boolean property)
setUseSSL in interface ConnectionPropertiespublic void setUseSSPSCompatibleTimezoneShift(boolean flag)
setUseSSPSCompatibleTimezoneShift in interface ConnectionPropertiespublic void setUseServerPrepStmts(boolean flag)
setUseServerPrepStmts in interface ConnectionPropertiespublic void setUseServerPreparedStmts(boolean flag)
setUseServerPreparedStmts in interface ConnectionPropertiesflag - The detectServerPreparedStmts to set.public void setUseSqlStateCodes(boolean flag)
setUseSqlStateCodes in interface ConnectionPropertiesflag - The useSqlStateCodes to set.public void setUseStreamLengthsInPrepStmts(boolean property)
setUseStreamLengthsInPrepStmts in interface ConnectionPropertiespublic void setUseTimezone(boolean property)
setUseTimezone in interface ConnectionPropertiespublic void setUseUltraDevWorkAround(boolean property)
setUseUltraDevWorkAround in interface ConnectionPropertiespublic void setUseUnbufferedInput(boolean flag)
setUseUnbufferedInput in interface ConnectionPropertiesflag - The useUnbufferedInput to set.public void setUseUnicode(boolean flag)
setUseUnicode in interface ConnectionPropertiesflag - The useUnicode to set.public void setUseUsageAdvisor(boolean useUsageAdvisorFlag)
ConnectionPropertiessetUseUsageAdvisor in interface ConnectionPropertiesuseUsageAdvisorFlag - whether or not the driver advises of proper usage.public void setUtf8OutsideBmpExcludedColumnNamePattern(java.lang.String regexPattern)
setUtf8OutsideBmpExcludedColumnNamePattern in interface ConnectionPropertiespublic void setUtf8OutsideBmpIncludedColumnNamePattern(java.lang.String regexPattern)
setUtf8OutsideBmpIncludedColumnNamePattern in interface ConnectionPropertiespublic void setVerifyServerCertificate(boolean flag)
setVerifyServerCertificate in interface ConnectionPropertiespublic void setYearIsDateType(boolean flag)
setYearIsDateType in interface ConnectionPropertiespublic void setZeroDateTimeBehavior(java.lang.String behavior)
setZeroDateTimeBehavior in interface ConnectionPropertiespublic boolean useUnbufferedInput()
useUnbufferedInput in interface ConnectionPropertiespublic boolean isSameResource(Connection c)
Connectionpublic void setInGlobalTx(boolean flag)
Connectionpublic boolean getUseColumnNamesInFindColumn()
getUseColumnNamesInFindColumn in interface ConnectionPropertiespublic void setUseColumnNamesInFindColumn(boolean flag)
setUseColumnNamesInFindColumn in interface ConnectionPropertiespublic boolean getUseLocalTransactionState()
getUseLocalTransactionState in interface ConnectionPropertiespublic void setUseLocalTransactionState(boolean flag)
setUseLocalTransactionState in interface ConnectionPropertiespublic boolean getCompensateOnDuplicateKeyUpdateCounts()
getCompensateOnDuplicateKeyUpdateCounts in interface ConnectionPropertiespublic void setCompensateOnDuplicateKeyUpdateCounts(boolean flag)
setCompensateOnDuplicateKeyUpdateCounts in interface ConnectionPropertiespublic boolean getUseAffectedRows()
getUseAffectedRows in interface ConnectionPropertiespublic void setUseAffectedRows(boolean flag)
setUseAffectedRows in interface ConnectionPropertiespublic java.lang.String getPasswordCharacterEncoding()
getPasswordCharacterEncoding in interface ConnectionPropertiespublic void setPasswordCharacterEncoding(java.lang.String characterSet)
setPasswordCharacterEncoding in interface ConnectionPropertiespublic int getAutoIncrementIncrement()
Connectionpublic int getLoadBalanceBlacklistTimeout()
getLoadBalanceBlacklistTimeout in interface ConnectionPropertiespublic void setLoadBalanceBlacklistTimeout(int loadBalanceBlacklistTimeout)
throws java.sql.SQLException
setLoadBalanceBlacklistTimeout in interface ConnectionPropertiesjava.sql.SQLExceptionpublic int getLoadBalancePingTimeout()
getLoadBalancePingTimeout in interface ConnectionPropertiespublic void setLoadBalancePingTimeout(int loadBalancePingTimeout)
throws java.sql.SQLException
setLoadBalancePingTimeout in interface ConnectionPropertiesjava.sql.SQLExceptionpublic boolean getLoadBalanceValidateConnectionOnSwapServer()
getLoadBalanceValidateConnectionOnSwapServer in interface ConnectionPropertiespublic void setLoadBalanceValidateConnectionOnSwapServer(boolean loadBalanceValidateConnectionOnSwapServer)
setLoadBalanceValidateConnectionOnSwapServer in interface ConnectionPropertiespublic int getRetriesAllDown()
getRetriesAllDown in interface ConnectionPropertiespublic void setRetriesAllDown(int retriesAllDown)
throws java.sql.SQLException
setRetriesAllDown in interface ConnectionPropertiesjava.sql.SQLExceptionpublic ExceptionInterceptor getExceptionInterceptor()
getExceptionInterceptor in interface ConnectionPropertiespublic java.lang.String getExceptionInterceptors()
getExceptionInterceptors in interface ConnectionPropertiespublic void setExceptionInterceptors(java.lang.String exceptionInterceptors)
setExceptionInterceptors in interface ConnectionPropertiespublic boolean getQueryTimeoutKillsConnection()
getQueryTimeoutKillsConnection in interface ConnectionPropertiespublic void setQueryTimeoutKillsConnection(boolean queryTimeoutKillsConnection)
setQueryTimeoutKillsConnection in interface ConnectionPropertiespublic boolean hasSameProperties(Connection c)
Connectionpublic java.util.Properties getProperties()
Connectionpublic java.lang.String getHost()
public void setProxy(MySQLConnection proxy)
public boolean getRetainStatementAfterResultSetClose()
getRetainStatementAfterResultSetClose in interface ConnectionPropertiespublic int getMaxAllowedPacket()
getMaxAllowedPacket in interface ConnectionPropertiespublic java.lang.String getLoadBalanceConnectionGroup()
getLoadBalanceConnectionGroup in interface ConnectionPropertiespublic boolean getLoadBalanceEnableJMX()
getLoadBalanceEnableJMX in interface ConnectionPropertiespublic java.lang.String getLoadBalanceExceptionChecker()
getLoadBalanceExceptionChecker in interface ConnectionPropertiespublic java.lang.String getLoadBalanceSQLExceptionSubclassFailover()
getLoadBalanceSQLExceptionSubclassFailover in interface ConnectionPropertiespublic java.lang.String getLoadBalanceSQLStateFailover()
getLoadBalanceSQLStateFailover in interface ConnectionPropertiespublic void setLoadBalanceConnectionGroup(java.lang.String loadBalanceConnectionGroup)
setLoadBalanceConnectionGroup in interface ConnectionPropertiespublic void setLoadBalanceEnableJMX(boolean loadBalanceEnableJMX)
setLoadBalanceEnableJMX in interface ConnectionPropertiespublic void setLoadBalanceExceptionChecker(java.lang.String loadBalanceExceptionChecker)
setLoadBalanceExceptionChecker in interface ConnectionPropertiespublic void setLoadBalanceSQLExceptionSubclassFailover(java.lang.String loadBalanceSQLExceptionSubclassFailover)
setLoadBalanceSQLExceptionSubclassFailover in interface ConnectionPropertiespublic void setLoadBalanceSQLStateFailover(java.lang.String loadBalanceSQLStateFailover)
setLoadBalanceSQLStateFailover in interface ConnectionPropertiespublic java.lang.String getLoadBalanceAutoCommitStatementRegex()
getLoadBalanceAutoCommitStatementRegex in interface ConnectionPropertiespublic int getLoadBalanceAutoCommitStatementThreshold()
getLoadBalanceAutoCommitStatementThreshold in interface ConnectionPropertiespublic void setLoadBalanceAutoCommitStatementRegex(java.lang.String loadBalanceAutoCommitStatementRegex)
setLoadBalanceAutoCommitStatementRegex in interface ConnectionPropertiespublic void setLoadBalanceAutoCommitStatementThreshold(int loadBalanceAutoCommitStatementThreshold)
throws java.sql.SQLException
setLoadBalanceAutoCommitStatementThreshold in interface ConnectionPropertiesjava.sql.SQLExceptionpublic void setTypeMap(java.util.Map<java.lang.String,java.lang.Class<?>> map)
throws java.sql.SQLException
setTypeMap in interface java.sql.Connectionjava.sql.SQLExceptionpublic boolean getIncludeThreadDumpInDeadlockExceptions()
getIncludeThreadDumpInDeadlockExceptions in interface ConnectionPropertiespublic void setIncludeThreadDumpInDeadlockExceptions(boolean flag)
setIncludeThreadDumpInDeadlockExceptions in interface ConnectionPropertiespublic boolean getIncludeThreadNamesAsStatementComment()
getIncludeThreadNamesAsStatementComment in interface ConnectionPropertiespublic void setIncludeThreadNamesAsStatementComment(boolean flag)
setIncludeThreadNamesAsStatementComment in interface ConnectionPropertiespublic boolean isServerLocal()
throws java.sql.SQLException
Connectionjava.sql.SQLExceptionpublic void setAuthenticationPlugins(java.lang.String authenticationPlugins)
setAuthenticationPlugins in interface ConnectionPropertiespublic java.lang.String getAuthenticationPlugins()
getAuthenticationPlugins in interface ConnectionPropertiespublic void setDisabledAuthenticationPlugins(java.lang.String disabledAuthenticationPlugins)
setDisabledAuthenticationPlugins in interface ConnectionPropertiespublic java.lang.String getDisabledAuthenticationPlugins()
getDisabledAuthenticationPlugins in interface ConnectionPropertiespublic void setDefaultAuthenticationPlugin(java.lang.String defaultAuthenticationPlugin)
setDefaultAuthenticationPlugin in interface ConnectionPropertiespublic java.lang.String getDefaultAuthenticationPlugin()
getDefaultAuthenticationPlugin in interface ConnectionPropertiespublic void setParseInfoCacheFactory(java.lang.String factoryClassname)
setParseInfoCacheFactory in interface ConnectionPropertiespublic java.lang.String getParseInfoCacheFactory()
getParseInfoCacheFactory in interface ConnectionPropertiespublic void setSchema(java.lang.String schema)
throws java.sql.SQLException
setSchema in interface java.sql.Connectionjava.sql.SQLExceptionpublic java.lang.String getSchema()
throws java.sql.SQLException
getSchema in interface java.sql.Connectionjava.sql.SQLExceptionpublic void abort(java.util.concurrent.Executor executor)
throws java.sql.SQLException
abort in interface java.sql.Connectionjava.sql.SQLExceptionpublic void setNetworkTimeout(java.util.concurrent.Executor executor,
int milliseconds)
throws java.sql.SQLException
setNetworkTimeout in interface java.sql.Connectionjava.sql.SQLExceptionpublic int getNetworkTimeout()
throws java.sql.SQLException
getNetworkTimeout in interface java.sql.Connectionjava.sql.SQLExceptionpublic void setServerConfigCacheFactory(java.lang.String factoryClassname)
setServerConfigCacheFactory in interface ConnectionPropertiespublic java.lang.String getServerConfigCacheFactory()
getServerConfigCacheFactory in interface ConnectionPropertiespublic void setDisconnectOnExpiredPasswords(boolean disconnectOnExpiredPasswords)
setDisconnectOnExpiredPasswords in interface ConnectionPropertiespublic boolean getDisconnectOnExpiredPasswords()
getDisconnectOnExpiredPasswords in interface ConnectionPropertiespublic void setGetProceduresReturnsFunctions(boolean getProcedureReturnsFunctions)
setGetProceduresReturnsFunctions in interface ConnectionPropertiespublic boolean getGetProceduresReturnsFunctions()
getGetProceduresReturnsFunctions in interface ConnectionPropertiespublic void abortInternal()
throws java.sql.SQLException
java.sql.SQLExceptionpublic void checkClosed()
throws java.sql.SQLException
java.sql.SQLExceptionpublic java.lang.Object getConnectionMutex()
public boolean getAllowMasterDownConnections()
getAllowMasterDownConnections in interface ConnectionPropertiespublic void setAllowMasterDownConnections(boolean connectIfMasterDown)
setAllowMasterDownConnections in interface ConnectionPropertiespublic boolean getReplicationEnableJMX()
getReplicationEnableJMX in interface ConnectionPropertiespublic void setReplicationEnableJMX(boolean replicationEnableJMX)
setReplicationEnableJMX in interface ConnectionPropertiespublic java.lang.String getConnectionAttributes()
throws java.sql.SQLException
getConnectionAttributes in interface ConnectionPropertiesjava.sql.SQLExceptionpublic void setDetectCustomCollations(boolean detectCustomCollations)
setDetectCustomCollations in interface ConnectionPropertiespublic boolean getDetectCustomCollations()
getDetectCustomCollations in interface ConnectionPropertiespublic int getSessionMaxRows()
public void setSessionMaxRows(int max)
throws java.sql.SQLException
java.sql.SQLExceptionpublic java.lang.String getServerRSAPublicKeyFile()
getServerRSAPublicKeyFile in interface ConnectionPropertiespublic void setServerRSAPublicKeyFile(java.lang.String serverRSAPublicKeyFile)
throws java.sql.SQLException
setServerRSAPublicKeyFile in interface ConnectionPropertiesjava.sql.SQLExceptionpublic boolean getAllowPublicKeyRetrieval()
getAllowPublicKeyRetrieval in interface ConnectionPropertiespublic void setAllowPublicKeyRetrieval(boolean allowPublicKeyRetrieval)
throws java.sql.SQLException
setAllowPublicKeyRetrieval in interface ConnectionPropertiesjava.sql.SQLExceptionpublic void setDontCheckOnDuplicateKeyUpdateInSQL(boolean dontCheckOnDuplicateKeyUpdateInSQL)
setDontCheckOnDuplicateKeyUpdateInSQL in interface ConnectionPropertiespublic boolean getDontCheckOnDuplicateKeyUpdateInSQL()
getDontCheckOnDuplicateKeyUpdateInSQL in interface ConnectionPropertiespublic void setSocksProxyHost(java.lang.String socksProxyHost)
setSocksProxyHost in interface ConnectionPropertiespublic java.lang.String getSocksProxyHost()
getSocksProxyHost in interface ConnectionPropertiespublic void setSocksProxyPort(int socksProxyPort)
throws java.sql.SQLException
setSocksProxyPort in interface ConnectionPropertiesjava.sql.SQLExceptionpublic int getSocksProxyPort()
getSocksProxyPort in interface ConnectionPropertiespublic boolean getReadOnlyPropagatesToServer()
getReadOnlyPropagatesToServer in interface ConnectionPropertiespublic void setReadOnlyPropagatesToServer(boolean flag)
setReadOnlyPropagatesToServer in interface ConnectionPropertiespublic java.lang.String getEnabledSSLCipherSuites()
getEnabledSSLCipherSuites in interface ConnectionPropertiespublic void setEnabledSSLCipherSuites(java.lang.String cipherSuites)
setEnabledSSLCipherSuites in interface ConnectionProperties