public class ConnectionPropertiesImpl extends java.lang.Object implements java.io.Serializable, ConnectionProperties
| Modifier and Type | Class and Description |
|---|---|
(package private) static class |
ConnectionPropertiesImpl.BooleanConnectionProperty |
(package private) static class |
ConnectionPropertiesImpl.ConnectionProperty |
(package private) static class |
ConnectionPropertiesImpl.IntegerConnectionProperty |
static class |
ConnectionPropertiesImpl.LongConnectionProperty |
(package private) static class |
ConnectionPropertiesImpl.MemorySizeConnectionProperty |
(package private) static class |
ConnectionPropertiesImpl.StringConnectionProperty |
(package private) class |
ConnectionPropertiesImpl.XmlMap |
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
characterEncodingIsAliasForSjis |
protected ConnectionPropertiesImpl.MemorySizeConnectionProperty |
largeRowSizeThreshold |
protected ConnectionPropertiesImpl.BooleanConnectionProperty |
traceProtocol |
protected static java.lang.String |
ZERO_DATETIME_BEHAVIOR_CONVERT_TO_NULL |
protected static java.lang.String |
ZERO_DATETIME_BEHAVIOR_EXCEPTION |
protected static java.lang.String |
ZERO_DATETIME_BEHAVIOR_ROUND |
| Constructor and Description |
|---|
ConnectionPropertiesImpl() |
protected static final java.lang.String ZERO_DATETIME_BEHAVIOR_CONVERT_TO_NULL
protected static final java.lang.String ZERO_DATETIME_BEHAVIOR_EXCEPTION
protected static final java.lang.String ZERO_DATETIME_BEHAVIOR_ROUND
protected boolean characterEncodingIsAliasForSjis
protected ConnectionPropertiesImpl.MemorySizeConnectionProperty largeRowSizeThreshold
protected ConnectionPropertiesImpl.BooleanConnectionProperty traceProtocol
public ExceptionInterceptor getExceptionInterceptor()
getExceptionInterceptor in interface ConnectionPropertiesprotected static java.sql.DriverPropertyInfo[] exposeAsDriverPropertyInfo(java.util.Properties info,
int slotsToReserve)
throws java.sql.SQLException
info - the properties to load into these ConnectionPropertyInfo
instancesslotsToReserve - the number of DPI slots to reserve for 'standard' DPI
properties (user, host, password, etc)java.sql.SQLException - if an error occursprotected java.sql.DriverPropertyInfo[] exposeAsDriverPropertyInfoInternal(java.util.Properties info,
int slotsToReserve)
throws java.sql.SQLException
java.sql.SQLExceptionprotected java.util.Properties exposeAsProperties(java.util.Properties info)
throws java.sql.SQLException
java.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 getAutoDeserialize()
getAutoDeserialize in interface ConnectionPropertiespublic boolean getAutoGenerateTestcaseScript()
getAutoGenerateTestcaseScript in interface ConnectionPropertiespublic boolean getAutoReconnectForPools()
getAutoReconnectForPools in interface ConnectionPropertiespublic int getBlobSendChunkSize()
getBlobSendChunkSize in interface ConnectionPropertiespublic boolean getCacheCallableStatements()
getCacheCallableStatements 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 boolean getCapitalizeTypeNames()
getCapitalizeTypeNames in interface ConnectionPropertiespublic java.lang.String getCharacterSetResults()
getCharacterSetResults in interface ConnectionPropertiespublic java.lang.String getConnectionAttributes()
getConnectionAttributes in interface ConnectionPropertiespublic void setConnectionAttributes(java.lang.String val)
public boolean getClobberStreamingResults()
getClobberStreamingResults in interface ConnectionPropertiespublic java.lang.String getClobCharacterEncoding()
getClobCharacterEncoding in interface ConnectionPropertiespublic java.lang.String getConnectionCollation()
getConnectionCollation in interface ConnectionPropertiespublic int getConnectTimeout()
getConnectTimeout 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 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 java.lang.String getEncoding()
getEncoding in interface ConnectionPropertiespublic boolean getExplainSlowQueries()
getExplainSlowQueries in interface ConnectionPropertiespublic boolean getFailOverReadOnly()
getFailOverReadOnly in interface ConnectionPropertiespublic boolean getGatherPerformanceMetrics()
getGatherPerformanceMetrics in interface ConnectionPropertiesprotected boolean getHighAvailability()
public boolean getHoldResultsOpenOverStatementClose()
getHoldResultsOpenOverStatementClose in interface ConnectionPropertiespublic boolean getIgnoreNonTxTables()
getIgnoreNonTxTables 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 int getLocatorFetchBufferSize()
getLocatorFetchBufferSize in interface ConnectionPropertiespublic java.lang.String getLogger()
getLogger in interface ConnectionPropertiespublic java.lang.String getLoggerClassName()
getLoggerClassName in interface ConnectionPropertiespublic boolean getLogSlowQueries()
getLogSlowQueries 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 boolean getNoDatetimeStringSync()
getNoDatetimeStringSync in interface ConnectionPropertiespublic boolean getNullCatalogMeansCurrent()
getNullCatalogMeansCurrent in interface ConnectionPropertiespublic boolean getNullNamePatternMatchesAll()
getNullNamePatternMatchesAll in interface ConnectionPropertiespublic int getPacketDebugBufferSize()
getPacketDebugBufferSize in interface ConnectionPropertiespublic boolean getParanoid()
getParanoid in interface ConnectionPropertiespublic boolean getPedantic()
getPedantic in interface ConnectionPropertiespublic int getPreparedStatementCacheSize()
getPreparedStatementCacheSize in interface ConnectionPropertiespublic int getPreparedStatementCacheSqlLimit()
getPreparedStatementCacheSqlLimit in interface ConnectionPropertiespublic boolean getProfileSql()
getProfileSql in interface ConnectionPropertiespublic boolean getProfileSQL()
getProfileSQL 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 boolean getRetainStatementAfterResultSetClose()
getRetainStatementAfterResultSetClose 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 java.lang.String getServerTimezone()
ConnectionPropertiesgetServerTimezone in interface ConnectionPropertiespublic java.lang.String getSessionVariables()
getSessionVariables in interface ConnectionPropertiespublic int getSlowQueryThresholdMillis()
getSlowQueryThresholdMillis in interface ConnectionPropertiespublic java.lang.String getSocketFactoryClassName()
getSocketFactoryClassName in interface ConnectionPropertiespublic int getSocketTimeout()
getSocketTimeout in interface ConnectionPropertiespublic boolean getStrictFloatingPoint()
getStrictFloatingPoint in interface ConnectionPropertiespublic boolean getStrictUpdates()
getStrictUpdates in interface ConnectionPropertiespublic boolean getTinyInt1isBit()
getTinyInt1isBit in interface ConnectionPropertiespublic boolean getTraceProtocol()
getTraceProtocol in interface ConnectionPropertiespublic boolean getTransformedBitIsBoolean()
getTransformedBitIsBoolean in interface ConnectionPropertiespublic boolean getUseCompression()
getUseCompression in interface ConnectionPropertiespublic boolean getUseFastIntParsing()
getUseFastIntParsing in interface ConnectionPropertiespublic boolean getUseHostsInPrivileges()
getUseHostsInPrivileges in interface ConnectionPropertiespublic boolean getUseInformationSchema()
getUseInformationSchema in interface ConnectionPropertiespublic boolean getUseLocalSessionState()
getUseLocalSessionState in interface ConnectionPropertiespublic boolean getUseOldUTF8Behavior()
getUseOldUTF8Behavior in interface ConnectionPropertiespublic boolean getUseOnlyServerErrorMessages()
getUseOnlyServerErrorMessages in interface ConnectionPropertiespublic boolean getUseReadAheadInput()
getUseReadAheadInput in interface ConnectionPropertiespublic boolean getUseServerPreparedStmts()
getUseServerPreparedStmts in interface ConnectionPropertiespublic boolean getUseSqlStateCodes()
getUseSqlStateCodes in interface ConnectionPropertiespublic boolean getUseSSL()
getUseSSL 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 boolean getYearIsDateType()
getYearIsDateType in interface ConnectionPropertiespublic java.lang.String getZeroDateTimeBehavior()
getZeroDateTimeBehavior in interface ConnectionPropertiesprotected void initializeFromRef(javax.naming.Reference ref)
throws java.sql.SQLException
ref - The JNDI Reference that holds RefAddrs for all propertiesjava.sql.SQLExceptionprotected void initializeProperties(java.util.Properties info)
throws java.sql.SQLException
info - java.sql.SQLExceptionprotected void postInitialization()
throws java.sql.SQLException
java.sql.SQLExceptionpublic 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 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 setBlobSendChunkSize(java.lang.String value)
throws java.sql.SQLException
setBlobSendChunkSize in interface ConnectionPropertiesjava.sql.SQLExceptionpublic void setCacheCallableStatements(boolean flag)
setCacheCallableStatements in interface ConnectionPropertiesflag - The cacheCallableStatements to set.public 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)
throws java.sql.SQLException
ConnectionPropertiessetCallableStatementCacheSize in interface ConnectionPropertiessize - The callableStatementCacheSize to set.java.sql.SQLExceptionpublic 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 setClobberStreamingResults(boolean flag)
setClobberStreamingResults in interface ConnectionPropertiesflag - The clobberStreamingResults to set.public void setClobCharacterEncoding(java.lang.String encoding)
setClobCharacterEncoding in interface ConnectionPropertiespublic void setConnectionCollation(java.lang.String collation)
setConnectionCollation in interface ConnectionPropertiescollation - The connectionCollation to set.public void setConnectTimeout(int timeoutMs)
throws java.sql.SQLException
setConnectTimeout in interface ConnectionPropertiesjava.sql.SQLExceptionpublic void setContinueBatchOnError(boolean property)
setContinueBatchOnError in interface ConnectionPropertiespublic void setCreateDatabaseIfNotExist(boolean flag)
setCreateDatabaseIfNotExist in interface ConnectionPropertiespublic void setDefaultFetchSize(int n)
throws java.sql.SQLException
setDefaultFetchSize in interface ConnectionPropertiesjava.sql.SQLExceptionpublic void setDetectServerPreparedStmts(boolean property)
setDetectServerPreparedStmts in interface ConnectionPropertiespublic void setDontTrackOpenResources(boolean flag)
setDontTrackOpenResources 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 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 setGatherPerformanceMetrics(boolean flag)
setGatherPerformanceMetrics in interface ConnectionPropertiesflag - The gatherPerformanceMetrics to set.protected void setHighAvailability(boolean property)
public void setHoldResultsOpenOverStatementClose(boolean flag)
setHoldResultsOpenOverStatementClose in interface ConnectionPropertiespublic void setIgnoreNonTxTables(boolean property)
setIgnoreNonTxTables in interface ConnectionPropertiespublic void setInitialTimeout(int property)
throws java.sql.SQLException
setInitialTimeout in interface ConnectionPropertiesjava.sql.SQLExceptionpublic void setIsInteractiveClient(boolean property)
setIsInteractiveClient in interface ConnectionPropertiespublic void setJdbcCompliantTruncation(boolean flag)
setJdbcCompliantTruncation in interface ConnectionPropertiesflag - The jdbcCompliantTruncation to set.public void setLocatorFetchBufferSize(java.lang.String value)
throws java.sql.SQLException
setLocatorFetchBufferSize in interface ConnectionPropertiesjava.sql.SQLExceptionpublic 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 setLogSlowQueries(boolean flag)
setLogSlowQueries in interface ConnectionPropertiesflag - The logSlowQueries to set.public void setMaintainTimeStats(boolean flag)
setMaintainTimeStats in interface ConnectionPropertiespublic void setMaxQuerySizeToLog(int sizeInBytes)
throws java.sql.SQLException
setMaxQuerySizeToLog in interface ConnectionPropertiessizeInBytes - The maxQuerySizeToLog to set.java.sql.SQLExceptionpublic void setMaxReconnects(int property)
throws java.sql.SQLException
setMaxReconnects in interface ConnectionPropertiesjava.sql.SQLExceptionpublic void setMaxRows(int property)
throws java.sql.SQLException
setMaxRows in interface ConnectionPropertiesjava.sql.SQLExceptionpublic void setMetadataCacheSize(int value)
throws java.sql.SQLException
ConnectionPropertiessetMetadataCacheSize in interface ConnectionPropertiesvalue - the number of queries to cache metadata for.java.sql.SQLExceptionpublic void setNoDatetimeStringSync(boolean flag)
setNoDatetimeStringSync in interface ConnectionPropertiespublic void setNullCatalogMeansCurrent(boolean value)
setNullCatalogMeansCurrent in interface ConnectionPropertiespublic void setNullNamePatternMatchesAll(boolean value)
setNullNamePatternMatchesAll in interface ConnectionPropertiespublic void setPacketDebugBufferSize(int size)
throws java.sql.SQLException
setPacketDebugBufferSize in interface ConnectionPropertiessize - The packetDebugBufferSize to set.java.sql.SQLExceptionpublic void setParanoid(boolean property)
setParanoid in interface ConnectionPropertiespublic void setPedantic(boolean property)
setPedantic in interface ConnectionPropertiespublic void setPreparedStatementCacheSize(int cacheSize)
throws java.sql.SQLException
setPreparedStatementCacheSize in interface ConnectionPropertiescacheSize - The preparedStatementCacheSize to set.java.sql.SQLExceptionpublic void setPreparedStatementCacheSqlLimit(int cacheSqlLimit)
throws java.sql.SQLException
setPreparedStatementCacheSqlLimit in interface ConnectionPropertiescacheSqlLimit - The preparedStatementCacheSqlLimit to set.java.sql.SQLExceptionpublic void setProfileSql(boolean property)
setProfileSql in interface ConnectionPropertiespublic void setProfileSQL(boolean flag)
setProfileSQL in interface ConnectionPropertiesflag - The profileSQL to set.public void setPropertiesTransform(java.lang.String value)
setPropertiesTransform in interface ConnectionPropertiespublic void setQueriesBeforeRetryMaster(int property)
throws java.sql.SQLException
setQueriesBeforeRetryMaster in interface ConnectionPropertiesjava.sql.SQLExceptionpublic void setReconnectAtTxEnd(boolean property)
setReconnectAtTxEnd in interface ConnectionPropertiespublic void setRelaxAutoCommit(boolean property)
setRelaxAutoCommit in interface ConnectionPropertiespublic void setReportMetricsIntervalMillis(int millis)
throws java.sql.SQLException
setReportMetricsIntervalMillis in interface ConnectionPropertiesmillis - The reportMetricsIntervalMillis to set.java.sql.SQLExceptionpublic void setRequireSSL(boolean property)
setRequireSSL in interface ConnectionPropertiespublic void setRetainStatementAfterResultSetClose(boolean flag)
setRetainStatementAfterResultSetClose 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)
throws java.sql.SQLException
setSecondsBeforeRetryMaster in interface ConnectionPropertiesjava.sql.SQLExceptionpublic void setServerTimezone(java.lang.String property)
setServerTimezone in interface ConnectionPropertiespublic void setSessionVariables(java.lang.String variables)
setSessionVariables in interface ConnectionPropertiespublic void setSlowQueryThresholdMillis(int millis)
throws java.sql.SQLException
setSlowQueryThresholdMillis in interface ConnectionPropertiesmillis - The slowQueryThresholdMillis to set.java.sql.SQLExceptionpublic void setSocketFactoryClassName(java.lang.String property)
setSocketFactoryClassName in interface ConnectionPropertiespublic void setSocketTimeout(int property)
throws java.sql.SQLException
setSocketTimeout in interface ConnectionPropertiesjava.sql.SQLExceptionpublic void setStrictFloatingPoint(boolean property)
setStrictFloatingPoint in interface ConnectionPropertiespublic void setStrictUpdates(boolean property)
setStrictUpdates 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 setUseCompression(boolean property)
setUseCompression in interface ConnectionPropertiespublic void setUseFastIntParsing(boolean flag)
setUseFastIntParsing in interface ConnectionPropertiespublic void setUseHostsInPrivileges(boolean property)
setUseHostsInPrivileges in interface ConnectionPropertiespublic void setUseInformationSchema(boolean flag)
setUseInformationSchema in interface ConnectionPropertiespublic void setUseLocalSessionState(boolean flag)
setUseLocalSessionState 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 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 setUseSSL(boolean property)
setUseSSL in interface ConnectionPropertiespublic 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 setYearIsDateType(boolean flag)
setYearIsDateType in interface ConnectionPropertiespublic void setZeroDateTimeBehavior(java.lang.String behavior)
setZeroDateTimeBehavior in interface ConnectionPropertiesprotected void storeToRef(javax.naming.Reference ref)
throws java.sql.SQLException
java.sql.SQLExceptionpublic boolean useUnbufferedInput()
useUnbufferedInput in interface ConnectionPropertiespublic boolean getUseCursorFetch()
getUseCursorFetch in interface ConnectionPropertiespublic void setUseCursorFetch(boolean flag)
setUseCursorFetch in interface ConnectionPropertiespublic boolean getOverrideSupportsIntegrityEnhancementFacility()
getOverrideSupportsIntegrityEnhancementFacility in interface ConnectionPropertiespublic void setOverrideSupportsIntegrityEnhancementFacility(boolean flag)
setOverrideSupportsIntegrityEnhancementFacility in interface ConnectionPropertiespublic boolean getNoTimezoneConversionForTimeType()
getNoTimezoneConversionForTimeType in interface ConnectionPropertiespublic void setNoTimezoneConversionForTimeType(boolean flag)
setNoTimezoneConversionForTimeType in interface ConnectionPropertiespublic boolean getNoTimezoneConversionForDateType()
getNoTimezoneConversionForDateType in interface ConnectionPropertiespublic void setNoTimezoneConversionForDateType(boolean flag)
setNoTimezoneConversionForDateType in interface ConnectionPropertiespublic boolean getCacheDefaultTimezone()
getCacheDefaultTimezone in interface ConnectionPropertiespublic void setCacheDefaultTimezone(boolean flag)
setCacheDefaultTimezone in interface ConnectionPropertiespublic boolean getUseJDBCCompliantTimezoneShift()
getUseJDBCCompliantTimezoneShift in interface ConnectionPropertiespublic void setUseJDBCCompliantTimezoneShift(boolean flag)
setUseJDBCCompliantTimezoneShift in interface ConnectionPropertiespublic boolean getAutoClosePStmtStreams()
getAutoClosePStmtStreams in interface ConnectionPropertiespublic void setAutoClosePStmtStreams(boolean flag)
setAutoClosePStmtStreams in interface ConnectionPropertiespublic boolean getProcessEscapeCodesForPrepStmts()
getProcessEscapeCodesForPrepStmts in interface ConnectionPropertiespublic void setProcessEscapeCodesForPrepStmts(boolean flag)
setProcessEscapeCodesForPrepStmts in interface ConnectionPropertiespublic boolean getUseGmtMillisForDatetimes()
getUseGmtMillisForDatetimes in interface ConnectionPropertiespublic void setUseGmtMillisForDatetimes(boolean flag)
setUseGmtMillisForDatetimes in interface ConnectionPropertiespublic boolean getDumpMetadataOnColumnNotFound()
getDumpMetadataOnColumnNotFound in interface ConnectionPropertiespublic void setDumpMetadataOnColumnNotFound(boolean flag)
setDumpMetadataOnColumnNotFound in interface ConnectionPropertiespublic java.lang.String getResourceId()
getResourceId in interface ConnectionPropertiespublic void setResourceId(java.lang.String resourceId)
setResourceId in interface ConnectionPropertiespublic boolean getRewriteBatchedStatements()
getRewriteBatchedStatements in interface ConnectionPropertiespublic void setRewriteBatchedStatements(boolean flag)
setRewriteBatchedStatements in interface ConnectionPropertiespublic boolean getJdbcCompliantTruncationForReads()
getJdbcCompliantTruncationForReads in interface ConnectionPropertiespublic void setJdbcCompliantTruncationForReads(boolean jdbcCompliantTruncationForReads)
setJdbcCompliantTruncationForReads in interface ConnectionPropertiespublic boolean getUseJvmCharsetConverters()
getUseJvmCharsetConverters in interface ConnectionPropertiespublic void setUseJvmCharsetConverters(boolean flag)
setUseJvmCharsetConverters in interface ConnectionPropertiespublic boolean getPinGlobalTxToPhysicalConnection()
getPinGlobalTxToPhysicalConnection in interface ConnectionPropertiespublic void setPinGlobalTxToPhysicalConnection(boolean flag)
setPinGlobalTxToPhysicalConnection in interface ConnectionPropertiespublic void setGatherPerfMetrics(boolean flag)
setGatherPerfMetrics in interface ConnectionPropertiespublic boolean getGatherPerfMetrics()
getGatherPerfMetrics in interface ConnectionPropertiespublic void setUltraDevHack(boolean flag)
setUltraDevHack in interface ConnectionPropertiespublic boolean getUltraDevHack()
getUltraDevHack in interface ConnectionPropertiespublic void setInteractiveClient(boolean property)
setInteractiveClient in interface ConnectionPropertiespublic void setSocketFactory(java.lang.String name)
setSocketFactory in interface ConnectionPropertiespublic java.lang.String getSocketFactory()
getSocketFactory in interface ConnectionPropertiespublic void setUseServerPrepStmts(boolean flag)
setUseServerPrepStmts in interface ConnectionPropertiespublic boolean getUseServerPrepStmts()
getUseServerPrepStmts in interface ConnectionPropertiespublic void setCacheCallableStmts(boolean flag)
setCacheCallableStmts in interface ConnectionPropertiespublic boolean getCacheCallableStmts()
getCacheCallableStmts in interface ConnectionPropertiespublic void setCachePrepStmts(boolean flag)
setCachePrepStmts in interface ConnectionPropertiespublic boolean getCachePrepStmts()
getCachePrepStmts in interface ConnectionPropertiespublic void setCallableStmtCacheSize(int cacheSize)
throws java.sql.SQLException
setCallableStmtCacheSize in interface ConnectionPropertiesjava.sql.SQLExceptionpublic int getCallableStmtCacheSize()
getCallableStmtCacheSize in interface ConnectionPropertiespublic void setPrepStmtCacheSize(int cacheSize)
throws java.sql.SQLException
setPrepStmtCacheSize in interface ConnectionPropertiesjava.sql.SQLExceptionpublic int getPrepStmtCacheSize()
getPrepStmtCacheSize in interface ConnectionPropertiespublic void setPrepStmtCacheSqlLimit(int sqlLimit)
throws java.sql.SQLException
setPrepStmtCacheSqlLimit in interface ConnectionPropertiesjava.sql.SQLExceptionpublic int getPrepStmtCacheSqlLimit()
getPrepStmtCacheSqlLimit in interface ConnectionPropertiespublic boolean getNoAccessToProcedureBodies()
getNoAccessToProcedureBodies in interface ConnectionPropertiespublic void setNoAccessToProcedureBodies(boolean flag)
setNoAccessToProcedureBodies in interface ConnectionPropertiespublic boolean getUseOldAliasMetadataBehavior()
getUseOldAliasMetadataBehavior in interface ConnectionPropertiespublic void setUseOldAliasMetadataBehavior(boolean flag)
setUseOldAliasMetadataBehavior in interface ConnectionPropertiespublic java.lang.String getClientCertificateKeyStorePassword()
getClientCertificateKeyStorePassword in interface ConnectionPropertiespublic void setClientCertificateKeyStorePassword(java.lang.String value)
setClientCertificateKeyStorePassword in interface ConnectionPropertiespublic java.lang.String getClientCertificateKeyStoreType()
getClientCertificateKeyStoreType in interface ConnectionPropertiespublic void setClientCertificateKeyStoreType(java.lang.String value)
setClientCertificateKeyStoreType in interface ConnectionPropertiespublic java.lang.String getClientCertificateKeyStoreUrl()
getClientCertificateKeyStoreUrl in interface ConnectionPropertiespublic void setClientCertificateKeyStoreUrl(java.lang.String value)
setClientCertificateKeyStoreUrl in interface ConnectionPropertiespublic java.lang.String getTrustCertificateKeyStorePassword()
getTrustCertificateKeyStorePassword in interface ConnectionPropertiespublic void setTrustCertificateKeyStorePassword(java.lang.String value)
setTrustCertificateKeyStorePassword in interface ConnectionPropertiespublic java.lang.String getTrustCertificateKeyStoreType()
getTrustCertificateKeyStoreType in interface ConnectionPropertiespublic void setTrustCertificateKeyStoreType(java.lang.String value)
setTrustCertificateKeyStoreType in interface ConnectionPropertiespublic java.lang.String getTrustCertificateKeyStoreUrl()
getTrustCertificateKeyStoreUrl in interface ConnectionPropertiespublic void setTrustCertificateKeyStoreUrl(java.lang.String value)
setTrustCertificateKeyStoreUrl in interface ConnectionPropertiespublic boolean getUseSSPSCompatibleTimezoneShift()
getUseSSPSCompatibleTimezoneShift in interface ConnectionPropertiespublic void setUseSSPSCompatibleTimezoneShift(boolean flag)
setUseSSPSCompatibleTimezoneShift in interface ConnectionPropertiespublic boolean getTreatUtilDateAsTimestamp()
getTreatUtilDateAsTimestamp in interface ConnectionPropertiespublic void setTreatUtilDateAsTimestamp(boolean flag)
setTreatUtilDateAsTimestamp in interface ConnectionPropertiespublic boolean getUseFastDateParsing()
getUseFastDateParsing in interface ConnectionPropertiespublic void setUseFastDateParsing(boolean flag)
setUseFastDateParsing in interface ConnectionPropertiespublic java.lang.String getLocalSocketAddress()
getLocalSocketAddress in interface ConnectionPropertiespublic void setLocalSocketAddress(java.lang.String address)
setLocalSocketAddress in interface ConnectionPropertiespublic void setUseConfigs(java.lang.String configs)
setUseConfigs in interface ConnectionPropertiespublic java.lang.String getUseConfigs()
getUseConfigs in interface ConnectionPropertiespublic boolean getGenerateSimpleParameterMetadata()
getGenerateSimpleParameterMetadata in interface ConnectionPropertiespublic void setGenerateSimpleParameterMetadata(boolean flag)
setGenerateSimpleParameterMetadata in interface ConnectionPropertiespublic boolean getLogXaCommands()
getLogXaCommands in interface ConnectionPropertiespublic void setLogXaCommands(boolean flag)
setLogXaCommands in interface ConnectionPropertiespublic int getResultSetSizeThreshold()
getResultSetSizeThreshold in interface ConnectionPropertiespublic void setResultSetSizeThreshold(int threshold)
throws java.sql.SQLException
setResultSetSizeThreshold in interface ConnectionPropertiesjava.sql.SQLExceptionpublic int getNetTimeoutForStreamingResults()
getNetTimeoutForStreamingResults in interface ConnectionPropertiespublic void setNetTimeoutForStreamingResults(int value)
throws java.sql.SQLException
setNetTimeoutForStreamingResults in interface ConnectionPropertiesjava.sql.SQLExceptionpublic boolean getEnableQueryTimeouts()
getEnableQueryTimeouts in interface ConnectionPropertiespublic void setEnableQueryTimeouts(boolean flag)
setEnableQueryTimeouts in interface ConnectionPropertiespublic boolean getPadCharsWithSpace()
getPadCharsWithSpace in interface ConnectionPropertiespublic void setPadCharsWithSpace(boolean flag)
setPadCharsWithSpace in interface ConnectionPropertiespublic boolean getUseDynamicCharsetInfo()
getUseDynamicCharsetInfo in interface ConnectionPropertiespublic void setUseDynamicCharsetInfo(boolean flag)
setUseDynamicCharsetInfo in interface ConnectionPropertiespublic java.lang.String getClientInfoProvider()
getClientInfoProvider in interface ConnectionPropertiespublic void setClientInfoProvider(java.lang.String classname)
setClientInfoProvider in interface ConnectionPropertiespublic boolean getPopulateInsertRowWithDefaultValues()
getPopulateInsertRowWithDefaultValues in interface ConnectionPropertiespublic void setPopulateInsertRowWithDefaultValues(boolean flag)
setPopulateInsertRowWithDefaultValues in interface ConnectionPropertiespublic java.lang.String getLoadBalanceStrategy()
getLoadBalanceStrategy in interface ConnectionPropertiespublic void setLoadBalanceStrategy(java.lang.String strategy)
setLoadBalanceStrategy in interface ConnectionPropertiespublic boolean getTcpNoDelay()
getTcpNoDelay in interface ConnectionPropertiespublic void setTcpNoDelay(boolean flag)
setTcpNoDelay in interface ConnectionPropertiespublic boolean getTcpKeepAlive()
getTcpKeepAlive in interface ConnectionPropertiespublic void setTcpKeepAlive(boolean flag)
setTcpKeepAlive in interface ConnectionPropertiespublic int getTcpRcvBuf()
getTcpRcvBuf in interface ConnectionPropertiespublic void setTcpRcvBuf(int bufSize)
throws java.sql.SQLException
setTcpRcvBuf in interface ConnectionPropertiesjava.sql.SQLExceptionpublic int getTcpSndBuf()
getTcpSndBuf in interface ConnectionPropertiespublic void setTcpSndBuf(int bufSize)
throws java.sql.SQLException
setTcpSndBuf in interface ConnectionPropertiesjava.sql.SQLExceptionpublic int getTcpTrafficClass()
getTcpTrafficClass in interface ConnectionPropertiespublic void setTcpTrafficClass(int classFlags)
throws java.sql.SQLException
setTcpTrafficClass in interface ConnectionPropertiesjava.sql.SQLExceptionpublic boolean getUseNanosForElapsedTime()
getUseNanosForElapsedTime in interface ConnectionPropertiespublic void setUseNanosForElapsedTime(boolean flag)
setUseNanosForElapsedTime in interface ConnectionPropertiespublic long getSlowQueryThresholdNanos()
getSlowQueryThresholdNanos in interface ConnectionPropertiespublic void setSlowQueryThresholdNanos(long nanos)
throws java.sql.SQLException
setSlowQueryThresholdNanos in interface ConnectionPropertiesjava.sql.SQLExceptionpublic java.lang.String getStatementInterceptors()
getStatementInterceptors in interface ConnectionPropertiespublic void setStatementInterceptors(java.lang.String value)
setStatementInterceptors in interface ConnectionPropertiespublic boolean getUseDirectRowUnpack()
getUseDirectRowUnpack in interface ConnectionPropertiespublic void setUseDirectRowUnpack(boolean flag)
setUseDirectRowUnpack in interface ConnectionPropertiespublic java.lang.String getLargeRowSizeThreshold()
getLargeRowSizeThreshold in interface ConnectionPropertiespublic void setLargeRowSizeThreshold(java.lang.String value)
throws java.sql.SQLException
setLargeRowSizeThreshold in interface ConnectionPropertiesjava.sql.SQLExceptionpublic boolean getUseBlobToStoreUTF8OutsideBMP()
getUseBlobToStoreUTF8OutsideBMP in interface ConnectionPropertiespublic void setUseBlobToStoreUTF8OutsideBMP(boolean flag)
setUseBlobToStoreUTF8OutsideBMP in interface ConnectionPropertiespublic java.lang.String getUtf8OutsideBmpExcludedColumnNamePattern()
getUtf8OutsideBmpExcludedColumnNamePattern in interface ConnectionPropertiespublic void setUtf8OutsideBmpExcludedColumnNamePattern(java.lang.String regexPattern)
setUtf8OutsideBmpExcludedColumnNamePattern in interface ConnectionPropertiespublic java.lang.String getUtf8OutsideBmpIncludedColumnNamePattern()
getUtf8OutsideBmpIncludedColumnNamePattern in interface ConnectionPropertiespublic void setUtf8OutsideBmpIncludedColumnNamePattern(java.lang.String regexPattern)
setUtf8OutsideBmpIncludedColumnNamePattern in interface ConnectionPropertiespublic boolean getIncludeInnodbStatusInDeadlockExceptions()
getIncludeInnodbStatusInDeadlockExceptions in interface ConnectionPropertiespublic void setIncludeInnodbStatusInDeadlockExceptions(boolean flag)
setIncludeInnodbStatusInDeadlockExceptions in interface ConnectionPropertiespublic boolean getBlobsAreStrings()
getBlobsAreStrings in interface ConnectionPropertiespublic void setBlobsAreStrings(boolean flag)
setBlobsAreStrings in interface ConnectionPropertiespublic boolean getFunctionsNeverReturnBlobs()
getFunctionsNeverReturnBlobs in interface ConnectionPropertiespublic void setFunctionsNeverReturnBlobs(boolean flag)
setFunctionsNeverReturnBlobs in interface ConnectionPropertiespublic boolean getAutoSlowLog()
getAutoSlowLog in interface ConnectionPropertiespublic void setAutoSlowLog(boolean flag)
setAutoSlowLog in interface ConnectionPropertiespublic java.lang.String getConnectionLifecycleInterceptors()
getConnectionLifecycleInterceptors in interface ConnectionPropertiespublic void setConnectionLifecycleInterceptors(java.lang.String interceptors)
setConnectionLifecycleInterceptors in interface ConnectionPropertiespublic java.lang.String getProfilerEventHandler()
getProfilerEventHandler in interface ConnectionPropertiespublic void setProfilerEventHandler(java.lang.String handler)
setProfilerEventHandler in interface ConnectionPropertiespublic boolean getVerifyServerCertificate()
getVerifyServerCertificate in interface ConnectionPropertiespublic void setVerifyServerCertificate(boolean flag)
setVerifyServerCertificate in interface ConnectionPropertiespublic boolean getUseLegacyDatetimeCode()
getUseLegacyDatetimeCode in interface ConnectionPropertiespublic void setUseLegacyDatetimeCode(boolean flag)
setUseLegacyDatetimeCode in interface ConnectionPropertiespublic int getSelfDestructOnPingSecondsLifetime()
getSelfDestructOnPingSecondsLifetime in interface ConnectionPropertiespublic void setSelfDestructOnPingSecondsLifetime(int seconds)
throws java.sql.SQLException
setSelfDestructOnPingSecondsLifetime in interface ConnectionPropertiesjava.sql.SQLExceptionpublic int getSelfDestructOnPingMaxOperations()
getSelfDestructOnPingMaxOperations in interface ConnectionPropertiespublic void setSelfDestructOnPingMaxOperations(int maxOperations)
throws java.sql.SQLException
setSelfDestructOnPingMaxOperations in interface ConnectionPropertiesjava.sql.SQLExceptionpublic 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 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 void setRetriesAllDown(int retriesAllDown)
throws java.sql.SQLException
setRetriesAllDown in interface ConnectionPropertiesjava.sql.SQLExceptionpublic int getRetriesAllDown()
getRetriesAllDown in interface ConnectionPropertiespublic void setUseAffectedRows(boolean flag)
setUseAffectedRows in interface ConnectionPropertiespublic boolean getUseAffectedRows()
getUseAffectedRows in interface ConnectionPropertiespublic void setPasswordCharacterEncoding(java.lang.String characterSet)
setPasswordCharacterEncoding in interface ConnectionPropertiespublic java.lang.String getPasswordCharacterEncoding()
getPasswordCharacterEncoding in interface ConnectionPropertiespublic void setExceptionInterceptors(java.lang.String exceptionInterceptors)
setExceptionInterceptors in interface ConnectionPropertiespublic java.lang.String getExceptionInterceptors()
getExceptionInterceptors in interface ConnectionPropertiespublic void setMaxAllowedPacket(int max)
throws java.sql.SQLException
java.sql.SQLExceptionpublic int getMaxAllowedPacket()
getMaxAllowedPacket in interface ConnectionPropertiespublic boolean getQueryTimeoutKillsConnection()
getQueryTimeoutKillsConnection in interface ConnectionPropertiespublic void setQueryTimeoutKillsConnection(boolean queryTimeoutKillsConnection)
setQueryTimeoutKillsConnection in interface ConnectionPropertiespublic boolean getLoadBalanceValidateConnectionOnSwapServer()
getLoadBalanceValidateConnectionOnSwapServer in interface ConnectionPropertiespublic void setLoadBalanceValidateConnectionOnSwapServer(boolean loadBalanceValidateConnectionOnSwapServer)
setLoadBalanceValidateConnectionOnSwapServer in interface ConnectionPropertiespublic java.lang.String getLoadBalanceConnectionGroup()
getLoadBalanceConnectionGroup in interface ConnectionPropertiespublic void setLoadBalanceConnectionGroup(java.lang.String loadBalanceConnectionGroup)
setLoadBalanceConnectionGroup in interface ConnectionPropertiespublic java.lang.String getLoadBalanceExceptionChecker()
getLoadBalanceExceptionChecker in interface ConnectionPropertiespublic void setLoadBalanceExceptionChecker(java.lang.String loadBalanceExceptionChecker)
setLoadBalanceExceptionChecker in interface ConnectionPropertiespublic java.lang.String getLoadBalanceSQLStateFailover()
getLoadBalanceSQLStateFailover in interface ConnectionPropertiespublic void setLoadBalanceSQLStateFailover(java.lang.String loadBalanceSQLStateFailover)
setLoadBalanceSQLStateFailover in interface ConnectionPropertiespublic java.lang.String getLoadBalanceSQLExceptionSubclassFailover()
getLoadBalanceSQLExceptionSubclassFailover in interface ConnectionPropertiespublic void setLoadBalanceSQLExceptionSubclassFailover(java.lang.String loadBalanceSQLExceptionSubclassFailover)
setLoadBalanceSQLExceptionSubclassFailover in interface ConnectionPropertiespublic boolean getLoadBalanceEnableJMX()
getLoadBalanceEnableJMX in interface ConnectionPropertiespublic void setLoadBalanceEnableJMX(boolean loadBalanceEnableJMX)
setLoadBalanceEnableJMX in interface ConnectionPropertiespublic void setLoadBalanceAutoCommitStatementThreshold(int loadBalanceAutoCommitStatementThreshold)
throws java.sql.SQLException
setLoadBalanceAutoCommitStatementThreshold in interface ConnectionPropertiesjava.sql.SQLExceptionpublic int getLoadBalanceAutoCommitStatementThreshold()
getLoadBalanceAutoCommitStatementThreshold in interface ConnectionPropertiespublic void setLoadBalanceAutoCommitStatementRegex(java.lang.String loadBalanceAutoCommitStatementRegex)
setLoadBalanceAutoCommitStatementRegex in interface ConnectionPropertiespublic java.lang.String getLoadBalanceAutoCommitStatementRegex()
getLoadBalanceAutoCommitStatementRegex in interface ConnectionPropertiespublic void setIncludeThreadDumpInDeadlockExceptions(boolean flag)
setIncludeThreadDumpInDeadlockExceptions in interface ConnectionPropertiespublic boolean getIncludeThreadDumpInDeadlockExceptions()
getIncludeThreadDumpInDeadlockExceptions in interface ConnectionPropertiespublic void setIncludeThreadNamesAsStatementComment(boolean flag)
setIncludeThreadNamesAsStatementComment in interface ConnectionPropertiespublic boolean getIncludeThreadNamesAsStatementComment()
getIncludeThreadNamesAsStatementComment in interface ConnectionPropertiespublic 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 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 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 void setGetProceduresReturnsFunctions(boolean getProcedureReturnsFunctions)
setGetProceduresReturnsFunctions in interface ConnectionPropertiespublic boolean getGetProceduresReturnsFunctions()
getGetProceduresReturnsFunctions in interface ConnectionPropertiespublic void setDetectCustomCollations(boolean detectCustomCollations)
setDetectCustomCollations in interface ConnectionPropertiespublic boolean getDetectCustomCollations()
getDetectCustomCollations in interface ConnectionPropertiespublic 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