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 ConnectionProperties
protected 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.SQLException
protected java.util.Properties exposeAsProperties(java.util.Properties info) throws java.sql.SQLException
java.sql.SQLException
public java.lang.String exposeAsXml() throws java.sql.SQLException
ConnectionProperties
exposeAsXml
in interface ConnectionProperties
java.sql.SQLException
- if an error occurs.public boolean getAllowLoadLocalInfile()
getAllowLoadLocalInfile
in interface ConnectionProperties
public boolean getAllowMultiQueries()
getAllowMultiQueries
in interface ConnectionProperties
public boolean getAllowNanAndInf()
getAllowNanAndInf
in interface ConnectionProperties
public boolean getAllowUrlInLocalInfile()
getAllowUrlInLocalInfile
in interface ConnectionProperties
public boolean getAlwaysSendSetIsolation()
getAlwaysSendSetIsolation
in interface ConnectionProperties
public boolean getAutoDeserialize()
getAutoDeserialize
in interface ConnectionProperties
public boolean getAutoGenerateTestcaseScript()
getAutoGenerateTestcaseScript
in interface ConnectionProperties
public boolean getAutoReconnectForPools()
getAutoReconnectForPools
in interface ConnectionProperties
public int getBlobSendChunkSize()
getBlobSendChunkSize
in interface ConnectionProperties
public boolean getCacheCallableStatements()
getCacheCallableStatements
in interface ConnectionProperties
public boolean getCachePreparedStatements()
getCachePreparedStatements
in interface ConnectionProperties
public boolean getCacheResultSetMetadata()
getCacheResultSetMetadata
in interface ConnectionProperties
public boolean getCacheServerConfiguration()
getCacheServerConfiguration
in interface ConnectionProperties
public int getCallableStatementCacheSize()
getCallableStatementCacheSize
in interface ConnectionProperties
public boolean getCapitalizeTypeNames()
getCapitalizeTypeNames
in interface ConnectionProperties
public java.lang.String getCharacterSetResults()
getCharacterSetResults
in interface ConnectionProperties
public java.lang.String getConnectionAttributes()
getConnectionAttributes
in interface ConnectionProperties
public void setConnectionAttributes(java.lang.String val)
public boolean getClobberStreamingResults()
getClobberStreamingResults
in interface ConnectionProperties
public java.lang.String getClobCharacterEncoding()
getClobCharacterEncoding
in interface ConnectionProperties
public java.lang.String getConnectionCollation()
getConnectionCollation
in interface ConnectionProperties
public int getConnectTimeout()
getConnectTimeout
in interface ConnectionProperties
public boolean getContinueBatchOnError()
getContinueBatchOnError
in interface ConnectionProperties
public boolean getCreateDatabaseIfNotExist()
getCreateDatabaseIfNotExist
in interface ConnectionProperties
public int getDefaultFetchSize()
getDefaultFetchSize
in interface ConnectionProperties
public boolean getDontTrackOpenResources()
getDontTrackOpenResources
in interface ConnectionProperties
public boolean getDumpQueriesOnException()
getDumpQueriesOnException
in interface ConnectionProperties
public boolean getDynamicCalendars()
getDynamicCalendars
in interface ConnectionProperties
public boolean getElideSetAutoCommits()
getElideSetAutoCommits
in interface ConnectionProperties
public boolean getEmptyStringsConvertToZero()
getEmptyStringsConvertToZero
in interface ConnectionProperties
public boolean getEmulateLocators()
getEmulateLocators
in interface ConnectionProperties
public boolean getEmulateUnsupportedPstmts()
getEmulateUnsupportedPstmts
in interface ConnectionProperties
public boolean getEnablePacketDebug()
getEnablePacketDebug
in interface ConnectionProperties
public java.lang.String getEncoding()
getEncoding
in interface ConnectionProperties
public boolean getExplainSlowQueries()
getExplainSlowQueries
in interface ConnectionProperties
public boolean getFailOverReadOnly()
getFailOverReadOnly
in interface ConnectionProperties
public boolean getGatherPerformanceMetrics()
getGatherPerformanceMetrics
in interface ConnectionProperties
protected boolean getHighAvailability()
public boolean getHoldResultsOpenOverStatementClose()
getHoldResultsOpenOverStatementClose
in interface ConnectionProperties
public boolean getIgnoreNonTxTables()
getIgnoreNonTxTables
in interface ConnectionProperties
public int getInitialTimeout()
getInitialTimeout
in interface ConnectionProperties
public boolean getInteractiveClient()
getInteractiveClient
in interface ConnectionProperties
public boolean getIsInteractiveClient()
getIsInteractiveClient
in interface ConnectionProperties
public boolean getJdbcCompliantTruncation()
getJdbcCompliantTruncation
in interface ConnectionProperties
public int getLocatorFetchBufferSize()
getLocatorFetchBufferSize
in interface ConnectionProperties
public java.lang.String getLogger()
getLogger
in interface ConnectionProperties
public java.lang.String getLoggerClassName()
getLoggerClassName
in interface ConnectionProperties
public boolean getLogSlowQueries()
getLogSlowQueries
in interface ConnectionProperties
public boolean getMaintainTimeStats()
getMaintainTimeStats
in interface ConnectionProperties
public int getMaxQuerySizeToLog()
getMaxQuerySizeToLog
in interface ConnectionProperties
public int getMaxReconnects()
getMaxReconnects
in interface ConnectionProperties
public int getMaxRows()
getMaxRows
in interface ConnectionProperties
public int getMetadataCacheSize()
ConnectionProperties
getMetadataCacheSize
in interface ConnectionProperties
public boolean getNoDatetimeStringSync()
getNoDatetimeStringSync
in interface ConnectionProperties
public boolean getNullCatalogMeansCurrent()
getNullCatalogMeansCurrent
in interface ConnectionProperties
public boolean getNullNamePatternMatchesAll()
getNullNamePatternMatchesAll
in interface ConnectionProperties
public int getPacketDebugBufferSize()
getPacketDebugBufferSize
in interface ConnectionProperties
public boolean getParanoid()
getParanoid
in interface ConnectionProperties
public boolean getPedantic()
getPedantic
in interface ConnectionProperties
public int getPreparedStatementCacheSize()
getPreparedStatementCacheSize
in interface ConnectionProperties
public int getPreparedStatementCacheSqlLimit()
getPreparedStatementCacheSqlLimit
in interface ConnectionProperties
public boolean getProfileSql()
getProfileSql
in interface ConnectionProperties
public boolean getProfileSQL()
getProfileSQL
in interface ConnectionProperties
public java.lang.String getPropertiesTransform()
getPropertiesTransform
in interface ConnectionProperties
public int getQueriesBeforeRetryMaster()
getQueriesBeforeRetryMaster
in interface ConnectionProperties
public boolean getReconnectAtTxEnd()
getReconnectAtTxEnd
in interface ConnectionProperties
public boolean getRelaxAutoCommit()
getRelaxAutoCommit
in interface ConnectionProperties
public int getReportMetricsIntervalMillis()
getReportMetricsIntervalMillis
in interface ConnectionProperties
public boolean getRequireSSL()
getRequireSSL
in interface ConnectionProperties
public boolean getRetainStatementAfterResultSetClose()
getRetainStatementAfterResultSetClose
in interface ConnectionProperties
public boolean getRollbackOnPooledClose()
getRollbackOnPooledClose
in interface ConnectionProperties
public boolean getRoundRobinLoadBalance()
ConnectionProperties
getRoundRobinLoadBalance
in interface ConnectionProperties
public boolean getRunningCTS13()
getRunningCTS13
in interface ConnectionProperties
public int getSecondsBeforeRetryMaster()
getSecondsBeforeRetryMaster
in interface ConnectionProperties
public java.lang.String getServerTimezone()
ConnectionProperties
getServerTimezone
in interface ConnectionProperties
public java.lang.String getSessionVariables()
getSessionVariables
in interface ConnectionProperties
public int getSlowQueryThresholdMillis()
getSlowQueryThresholdMillis
in interface ConnectionProperties
public java.lang.String getSocketFactoryClassName()
getSocketFactoryClassName
in interface ConnectionProperties
public int getSocketTimeout()
getSocketTimeout
in interface ConnectionProperties
public boolean getStrictFloatingPoint()
getStrictFloatingPoint
in interface ConnectionProperties
public boolean getStrictUpdates()
getStrictUpdates
in interface ConnectionProperties
public boolean getTinyInt1isBit()
getTinyInt1isBit
in interface ConnectionProperties
public boolean getTraceProtocol()
getTraceProtocol
in interface ConnectionProperties
public boolean getTransformedBitIsBoolean()
getTransformedBitIsBoolean
in interface ConnectionProperties
public boolean getUseCompression()
getUseCompression
in interface ConnectionProperties
public boolean getUseFastIntParsing()
getUseFastIntParsing
in interface ConnectionProperties
public boolean getUseHostsInPrivileges()
getUseHostsInPrivileges
in interface ConnectionProperties
public boolean getUseInformationSchema()
getUseInformationSchema
in interface ConnectionProperties
public boolean getUseLocalSessionState()
getUseLocalSessionState
in interface ConnectionProperties
public boolean getUseOldUTF8Behavior()
getUseOldUTF8Behavior
in interface ConnectionProperties
public boolean getUseOnlyServerErrorMessages()
getUseOnlyServerErrorMessages
in interface ConnectionProperties
public boolean getUseReadAheadInput()
getUseReadAheadInput
in interface ConnectionProperties
public boolean getUseServerPreparedStmts()
getUseServerPreparedStmts
in interface ConnectionProperties
public boolean getUseSqlStateCodes()
getUseSqlStateCodes
in interface ConnectionProperties
public boolean getUseSSL()
getUseSSL
in interface ConnectionProperties
public boolean isUseSSLExplicit()
isUseSSLExplicit
in interface ConnectionProperties
public boolean getUseStreamLengthsInPrepStmts()
getUseStreamLengthsInPrepStmts
in interface ConnectionProperties
public boolean getUseTimezone()
getUseTimezone
in interface ConnectionProperties
public boolean getUseUltraDevWorkAround()
getUseUltraDevWorkAround
in interface ConnectionProperties
public boolean getUseUnbufferedInput()
getUseUnbufferedInput
in interface ConnectionProperties
public boolean getUseUnicode()
getUseUnicode
in interface ConnectionProperties
public boolean getUseUsageAdvisor()
ConnectionProperties
getUseUsageAdvisor
in interface ConnectionProperties
public boolean getYearIsDateType()
getYearIsDateType
in interface ConnectionProperties
public java.lang.String getZeroDateTimeBehavior()
getZeroDateTimeBehavior
in interface ConnectionProperties
protected void initializeFromRef(javax.naming.Reference ref) throws java.sql.SQLException
ref
- The JNDI Reference that holds RefAddrs for all propertiesjava.sql.SQLException
protected void initializeProperties(java.util.Properties info) throws java.sql.SQLException
info
- java.sql.SQLException
protected void postInitialization() throws java.sql.SQLException
java.sql.SQLException
public void setAllowLoadLocalInfile(boolean property)
setAllowLoadLocalInfile
in interface ConnectionProperties
public void setAllowMultiQueries(boolean property)
setAllowMultiQueries
in interface ConnectionProperties
public void setAllowNanAndInf(boolean flag)
setAllowNanAndInf
in interface ConnectionProperties
public void setAllowUrlInLocalInfile(boolean flag)
setAllowUrlInLocalInfile
in interface ConnectionProperties
public void setAlwaysSendSetIsolation(boolean flag)
setAlwaysSendSetIsolation
in interface ConnectionProperties
public void setAutoDeserialize(boolean flag)
setAutoDeserialize
in interface ConnectionProperties
public void setAutoGenerateTestcaseScript(boolean flag)
setAutoGenerateTestcaseScript
in interface ConnectionProperties
public void setAutoReconnect(boolean flag)
setAutoReconnect
in interface ConnectionProperties
flag
- The autoReconnect to set.public void setAutoReconnectForConnectionPools(boolean property)
setAutoReconnectForConnectionPools
in interface ConnectionProperties
public void setAutoReconnectForPools(boolean flag)
setAutoReconnectForPools
in interface ConnectionProperties
flag
- The autoReconnectForPools to set.public void setBlobSendChunkSize(java.lang.String value) throws java.sql.SQLException
setBlobSendChunkSize
in interface ConnectionProperties
java.sql.SQLException
public void setCacheCallableStatements(boolean flag)
setCacheCallableStatements
in interface ConnectionProperties
flag
- The cacheCallableStatements to set.public void setCachePreparedStatements(boolean flag)
setCachePreparedStatements
in interface ConnectionProperties
flag
- The cachePreparedStatements to set.public void setCacheResultSetMetadata(boolean property)
ConnectionProperties
setCacheResultSetMetadata
in interface ConnectionProperties
public void setCacheServerConfiguration(boolean flag)
setCacheServerConfiguration
in interface ConnectionProperties
public void setCallableStatementCacheSize(int size) throws java.sql.SQLException
ConnectionProperties
setCallableStatementCacheSize
in interface ConnectionProperties
size
- The callableStatementCacheSize to set.java.sql.SQLException
public void setCapitalizeDBMDTypes(boolean property)
setCapitalizeDBMDTypes
in interface ConnectionProperties
public void setCapitalizeTypeNames(boolean flag)
setCapitalizeTypeNames
in interface ConnectionProperties
flag
- The capitalizeTypeNames to set.public void setCharacterEncoding(java.lang.String encoding)
setCharacterEncoding
in interface ConnectionProperties
encoding
- The characterEncoding to set.public void setCharacterSetResults(java.lang.String characterSet)
setCharacterSetResults
in interface ConnectionProperties
characterSet
- The characterSetResults to set.public void setClobberStreamingResults(boolean flag)
setClobberStreamingResults
in interface ConnectionProperties
flag
- The clobberStreamingResults to set.public void setClobCharacterEncoding(java.lang.String encoding)
setClobCharacterEncoding
in interface ConnectionProperties
public void setConnectionCollation(java.lang.String collation)
setConnectionCollation
in interface ConnectionProperties
collation
- The connectionCollation to set.public void setConnectTimeout(int timeoutMs) throws java.sql.SQLException
setConnectTimeout
in interface ConnectionProperties
java.sql.SQLException
public void setContinueBatchOnError(boolean property)
setContinueBatchOnError
in interface ConnectionProperties
public void setCreateDatabaseIfNotExist(boolean flag)
setCreateDatabaseIfNotExist
in interface ConnectionProperties
public void setDefaultFetchSize(int n) throws java.sql.SQLException
setDefaultFetchSize
in interface ConnectionProperties
java.sql.SQLException
public void setDetectServerPreparedStmts(boolean property)
setDetectServerPreparedStmts
in interface ConnectionProperties
public void setDontTrackOpenResources(boolean flag)
setDontTrackOpenResources
in interface ConnectionProperties
public void setDumpQueriesOnException(boolean flag)
setDumpQueriesOnException
in interface ConnectionProperties
flag
- The dumpQueriesOnException to set.public void setDynamicCalendars(boolean flag)
setDynamicCalendars
in interface ConnectionProperties
public void setElideSetAutoCommits(boolean flag)
setElideSetAutoCommits
in interface ConnectionProperties
flag
- The elideSetAutoCommits to set.public void setEmptyStringsConvertToZero(boolean flag)
setEmptyStringsConvertToZero
in interface ConnectionProperties
public void setEmulateLocators(boolean property)
setEmulateLocators
in interface ConnectionProperties
public void setEmulateUnsupportedPstmts(boolean flag)
setEmulateUnsupportedPstmts
in interface ConnectionProperties
public void setEnablePacketDebug(boolean flag)
setEnablePacketDebug
in interface ConnectionProperties
flag
- The enablePacketDebug to set.public void setEncoding(java.lang.String property)
setEncoding
in interface ConnectionProperties
public void setExplainSlowQueries(boolean flag)
setExplainSlowQueries
in interface ConnectionProperties
flag
- The explainSlowQueries to set.public void setFailOverReadOnly(boolean flag)
setFailOverReadOnly
in interface ConnectionProperties
flag
- The failOverReadOnly to set.public void setGatherPerformanceMetrics(boolean flag)
setGatherPerformanceMetrics
in interface ConnectionProperties
flag
- The gatherPerformanceMetrics to set.protected void setHighAvailability(boolean property)
public void setHoldResultsOpenOverStatementClose(boolean flag)
setHoldResultsOpenOverStatementClose
in interface ConnectionProperties
public void setIgnoreNonTxTables(boolean property)
setIgnoreNonTxTables
in interface ConnectionProperties
public void setInitialTimeout(int property) throws java.sql.SQLException
setInitialTimeout
in interface ConnectionProperties
java.sql.SQLException
public void setIsInteractiveClient(boolean property)
setIsInteractiveClient
in interface ConnectionProperties
public void setJdbcCompliantTruncation(boolean flag)
setJdbcCompliantTruncation
in interface ConnectionProperties
flag
- The jdbcCompliantTruncation to set.public void setLocatorFetchBufferSize(java.lang.String value) throws java.sql.SQLException
setLocatorFetchBufferSize
in interface ConnectionProperties
java.sql.SQLException
public void setLogger(java.lang.String property)
setLogger
in interface ConnectionProperties
public void setLoggerClassName(java.lang.String className)
setLoggerClassName
in interface ConnectionProperties
className
- The loggerClassName to set.public void setLogSlowQueries(boolean flag)
setLogSlowQueries
in interface ConnectionProperties
flag
- The logSlowQueries to set.public void setMaintainTimeStats(boolean flag)
setMaintainTimeStats
in interface ConnectionProperties
public void setMaxQuerySizeToLog(int sizeInBytes) throws java.sql.SQLException
setMaxQuerySizeToLog
in interface ConnectionProperties
sizeInBytes
- The maxQuerySizeToLog to set.java.sql.SQLException
public void setMaxReconnects(int property) throws java.sql.SQLException
setMaxReconnects
in interface ConnectionProperties
java.sql.SQLException
public void setMaxRows(int property) throws java.sql.SQLException
setMaxRows
in interface ConnectionProperties
java.sql.SQLException
public void setMetadataCacheSize(int value) throws java.sql.SQLException
ConnectionProperties
setMetadataCacheSize
in interface ConnectionProperties
value
- the number of queries to cache metadata for.java.sql.SQLException
public void setNoDatetimeStringSync(boolean flag)
setNoDatetimeStringSync
in interface ConnectionProperties
public void setNullCatalogMeansCurrent(boolean value)
setNullCatalogMeansCurrent
in interface ConnectionProperties
public void setNullNamePatternMatchesAll(boolean value)
setNullNamePatternMatchesAll
in interface ConnectionProperties
public void setPacketDebugBufferSize(int size) throws java.sql.SQLException
setPacketDebugBufferSize
in interface ConnectionProperties
size
- The packetDebugBufferSize to set.java.sql.SQLException
public void setParanoid(boolean property)
setParanoid
in interface ConnectionProperties
public void setPedantic(boolean property)
setPedantic
in interface ConnectionProperties
public void setPreparedStatementCacheSize(int cacheSize) throws java.sql.SQLException
setPreparedStatementCacheSize
in interface ConnectionProperties
cacheSize
- The preparedStatementCacheSize to set.java.sql.SQLException
public void setPreparedStatementCacheSqlLimit(int cacheSqlLimit) throws java.sql.SQLException
setPreparedStatementCacheSqlLimit
in interface ConnectionProperties
cacheSqlLimit
- The preparedStatementCacheSqlLimit to set.java.sql.SQLException
public void setProfileSql(boolean property)
setProfileSql
in interface ConnectionProperties
public void setProfileSQL(boolean flag)
setProfileSQL
in interface ConnectionProperties
flag
- The profileSQL to set.public void setPropertiesTransform(java.lang.String value)
setPropertiesTransform
in interface ConnectionProperties
public void setQueriesBeforeRetryMaster(int property) throws java.sql.SQLException
setQueriesBeforeRetryMaster
in interface ConnectionProperties
java.sql.SQLException
public void setReconnectAtTxEnd(boolean property)
setReconnectAtTxEnd
in interface ConnectionProperties
public void setRelaxAutoCommit(boolean property)
setRelaxAutoCommit
in interface ConnectionProperties
public void setReportMetricsIntervalMillis(int millis) throws java.sql.SQLException
setReportMetricsIntervalMillis
in interface ConnectionProperties
millis
- The reportMetricsIntervalMillis to set.java.sql.SQLException
public void setRequireSSL(boolean property)
setRequireSSL
in interface ConnectionProperties
public void setRetainStatementAfterResultSetClose(boolean flag)
setRetainStatementAfterResultSetClose
in interface ConnectionProperties
public void setRollbackOnPooledClose(boolean flag)
setRollbackOnPooledClose
in interface ConnectionProperties
public void setRoundRobinLoadBalance(boolean flag)
ConnectionProperties
setRoundRobinLoadBalance
in interface ConnectionProperties
flag
- The roundRobinLoadBalance property to set.public void setRunningCTS13(boolean flag)
setRunningCTS13
in interface ConnectionProperties
public void setSecondsBeforeRetryMaster(int property) throws java.sql.SQLException
setSecondsBeforeRetryMaster
in interface ConnectionProperties
java.sql.SQLException
public void setServerTimezone(java.lang.String property)
setServerTimezone
in interface ConnectionProperties
public void setSessionVariables(java.lang.String variables)
setSessionVariables
in interface ConnectionProperties
public void setSlowQueryThresholdMillis(int millis) throws java.sql.SQLException
setSlowQueryThresholdMillis
in interface ConnectionProperties
millis
- The slowQueryThresholdMillis to set.java.sql.SQLException
public void setSocketFactoryClassName(java.lang.String property)
setSocketFactoryClassName
in interface ConnectionProperties
public void setSocketTimeout(int property) throws java.sql.SQLException
setSocketTimeout
in interface ConnectionProperties
java.sql.SQLException
public void setStrictFloatingPoint(boolean property)
setStrictFloatingPoint
in interface ConnectionProperties
public void setStrictUpdates(boolean property)
setStrictUpdates
in interface ConnectionProperties
public void setTinyInt1isBit(boolean flag)
setTinyInt1isBit
in interface ConnectionProperties
public void setTraceProtocol(boolean flag)
setTraceProtocol
in interface ConnectionProperties
flag
- The logProtocol to set.public void setTransformedBitIsBoolean(boolean flag)
setTransformedBitIsBoolean
in interface ConnectionProperties
public void setUseCompression(boolean property)
setUseCompression
in interface ConnectionProperties
public void setUseFastIntParsing(boolean flag)
setUseFastIntParsing
in interface ConnectionProperties
public void setUseHostsInPrivileges(boolean property)
setUseHostsInPrivileges
in interface ConnectionProperties
public void setUseInformationSchema(boolean flag)
setUseInformationSchema
in interface ConnectionProperties
public void setUseLocalSessionState(boolean flag)
setUseLocalSessionState
in interface ConnectionProperties
public void setUseOldUTF8Behavior(boolean flag)
setUseOldUTF8Behavior
in interface ConnectionProperties
public void setUseOnlyServerErrorMessages(boolean flag)
setUseOnlyServerErrorMessages
in interface ConnectionProperties
public void setUseReadAheadInput(boolean flag)
setUseReadAheadInput
in interface ConnectionProperties
public void setUseServerPreparedStmts(boolean flag)
setUseServerPreparedStmts
in interface ConnectionProperties
flag
- The detectServerPreparedStmts to set.public void setUseSqlStateCodes(boolean flag)
setUseSqlStateCodes
in interface ConnectionProperties
flag
- The useSqlStateCodes to set.public void setUseSSL(boolean property)
setUseSSL
in interface ConnectionProperties
public void setUseStreamLengthsInPrepStmts(boolean property)
setUseStreamLengthsInPrepStmts
in interface ConnectionProperties
public void setUseTimezone(boolean property)
setUseTimezone
in interface ConnectionProperties
public void setUseUltraDevWorkAround(boolean property)
setUseUltraDevWorkAround
in interface ConnectionProperties
public void setUseUnbufferedInput(boolean flag)
setUseUnbufferedInput
in interface ConnectionProperties
flag
- The useUnbufferedInput to set.public void setUseUnicode(boolean flag)
setUseUnicode
in interface ConnectionProperties
flag
- The useUnicode to set.public void setUseUsageAdvisor(boolean useUsageAdvisorFlag)
ConnectionProperties
setUseUsageAdvisor
in interface ConnectionProperties
useUsageAdvisorFlag
- whether or not the driver advises of proper usage.public void setYearIsDateType(boolean flag)
setYearIsDateType
in interface ConnectionProperties
public void setZeroDateTimeBehavior(java.lang.String behavior)
setZeroDateTimeBehavior
in interface ConnectionProperties
protected void storeToRef(javax.naming.Reference ref) throws java.sql.SQLException
java.sql.SQLException
public boolean useUnbufferedInput()
useUnbufferedInput
in interface ConnectionProperties
public boolean getUseCursorFetch()
getUseCursorFetch
in interface ConnectionProperties
public void setUseCursorFetch(boolean flag)
setUseCursorFetch
in interface ConnectionProperties
public boolean getOverrideSupportsIntegrityEnhancementFacility()
getOverrideSupportsIntegrityEnhancementFacility
in interface ConnectionProperties
public void setOverrideSupportsIntegrityEnhancementFacility(boolean flag)
setOverrideSupportsIntegrityEnhancementFacility
in interface ConnectionProperties
public boolean getNoTimezoneConversionForTimeType()
getNoTimezoneConversionForTimeType
in interface ConnectionProperties
public void setNoTimezoneConversionForTimeType(boolean flag)
setNoTimezoneConversionForTimeType
in interface ConnectionProperties
public boolean getNoTimezoneConversionForDateType()
getNoTimezoneConversionForDateType
in interface ConnectionProperties
public void setNoTimezoneConversionForDateType(boolean flag)
setNoTimezoneConversionForDateType
in interface ConnectionProperties
public boolean getCacheDefaultTimezone()
getCacheDefaultTimezone
in interface ConnectionProperties
public void setCacheDefaultTimezone(boolean flag)
setCacheDefaultTimezone
in interface ConnectionProperties
public boolean getUseJDBCCompliantTimezoneShift()
getUseJDBCCompliantTimezoneShift
in interface ConnectionProperties
public void setUseJDBCCompliantTimezoneShift(boolean flag)
setUseJDBCCompliantTimezoneShift
in interface ConnectionProperties
public boolean getAutoClosePStmtStreams()
getAutoClosePStmtStreams
in interface ConnectionProperties
public void setAutoClosePStmtStreams(boolean flag)
setAutoClosePStmtStreams
in interface ConnectionProperties
public boolean getProcessEscapeCodesForPrepStmts()
getProcessEscapeCodesForPrepStmts
in interface ConnectionProperties
public void setProcessEscapeCodesForPrepStmts(boolean flag)
setProcessEscapeCodesForPrepStmts
in interface ConnectionProperties
public boolean getUseGmtMillisForDatetimes()
getUseGmtMillisForDatetimes
in interface ConnectionProperties
public void setUseGmtMillisForDatetimes(boolean flag)
setUseGmtMillisForDatetimes
in interface ConnectionProperties
public boolean getDumpMetadataOnColumnNotFound()
getDumpMetadataOnColumnNotFound
in interface ConnectionProperties
public void setDumpMetadataOnColumnNotFound(boolean flag)
setDumpMetadataOnColumnNotFound
in interface ConnectionProperties
public java.lang.String getResourceId()
getResourceId
in interface ConnectionProperties
public void setResourceId(java.lang.String resourceId)
setResourceId
in interface ConnectionProperties
public boolean getRewriteBatchedStatements()
getRewriteBatchedStatements
in interface ConnectionProperties
public void setRewriteBatchedStatements(boolean flag)
setRewriteBatchedStatements
in interface ConnectionProperties
public boolean getJdbcCompliantTruncationForReads()
getJdbcCompliantTruncationForReads
in interface ConnectionProperties
public void setJdbcCompliantTruncationForReads(boolean jdbcCompliantTruncationForReads)
setJdbcCompliantTruncationForReads
in interface ConnectionProperties
public boolean getUseJvmCharsetConverters()
getUseJvmCharsetConverters
in interface ConnectionProperties
public void setUseJvmCharsetConverters(boolean flag)
setUseJvmCharsetConverters
in interface ConnectionProperties
public boolean getPinGlobalTxToPhysicalConnection()
getPinGlobalTxToPhysicalConnection
in interface ConnectionProperties
public void setPinGlobalTxToPhysicalConnection(boolean flag)
setPinGlobalTxToPhysicalConnection
in interface ConnectionProperties
public void setGatherPerfMetrics(boolean flag)
setGatherPerfMetrics
in interface ConnectionProperties
public boolean getGatherPerfMetrics()
getGatherPerfMetrics
in interface ConnectionProperties
public void setUltraDevHack(boolean flag)
setUltraDevHack
in interface ConnectionProperties
public boolean getUltraDevHack()
getUltraDevHack
in interface ConnectionProperties
public void setInteractiveClient(boolean property)
setInteractiveClient
in interface ConnectionProperties
public void setSocketFactory(java.lang.String name)
setSocketFactory
in interface ConnectionProperties
public java.lang.String getSocketFactory()
getSocketFactory
in interface ConnectionProperties
public void setUseServerPrepStmts(boolean flag)
setUseServerPrepStmts
in interface ConnectionProperties
public boolean getUseServerPrepStmts()
getUseServerPrepStmts
in interface ConnectionProperties
public void setCacheCallableStmts(boolean flag)
setCacheCallableStmts
in interface ConnectionProperties
public boolean getCacheCallableStmts()
getCacheCallableStmts
in interface ConnectionProperties
public void setCachePrepStmts(boolean flag)
setCachePrepStmts
in interface ConnectionProperties
public boolean getCachePrepStmts()
getCachePrepStmts
in interface ConnectionProperties
public void setCallableStmtCacheSize(int cacheSize) throws java.sql.SQLException
setCallableStmtCacheSize
in interface ConnectionProperties
java.sql.SQLException
public int getCallableStmtCacheSize()
getCallableStmtCacheSize
in interface ConnectionProperties
public void setPrepStmtCacheSize(int cacheSize) throws java.sql.SQLException
setPrepStmtCacheSize
in interface ConnectionProperties
java.sql.SQLException
public int getPrepStmtCacheSize()
getPrepStmtCacheSize
in interface ConnectionProperties
public void setPrepStmtCacheSqlLimit(int sqlLimit) throws java.sql.SQLException
setPrepStmtCacheSqlLimit
in interface ConnectionProperties
java.sql.SQLException
public int getPrepStmtCacheSqlLimit()
getPrepStmtCacheSqlLimit
in interface ConnectionProperties
public boolean getNoAccessToProcedureBodies()
getNoAccessToProcedureBodies
in interface ConnectionProperties
public void setNoAccessToProcedureBodies(boolean flag)
setNoAccessToProcedureBodies
in interface ConnectionProperties
public boolean getUseOldAliasMetadataBehavior()
getUseOldAliasMetadataBehavior
in interface ConnectionProperties
public void setUseOldAliasMetadataBehavior(boolean flag)
setUseOldAliasMetadataBehavior
in interface ConnectionProperties
public java.lang.String getClientCertificateKeyStorePassword()
getClientCertificateKeyStorePassword
in interface ConnectionProperties
public void setClientCertificateKeyStorePassword(java.lang.String value)
setClientCertificateKeyStorePassword
in interface ConnectionProperties
public java.lang.String getClientCertificateKeyStoreType()
getClientCertificateKeyStoreType
in interface ConnectionProperties
public void setClientCertificateKeyStoreType(java.lang.String value)
setClientCertificateKeyStoreType
in interface ConnectionProperties
public java.lang.String getClientCertificateKeyStoreUrl()
getClientCertificateKeyStoreUrl
in interface ConnectionProperties
public void setClientCertificateKeyStoreUrl(java.lang.String value)
setClientCertificateKeyStoreUrl
in interface ConnectionProperties
public java.lang.String getTrustCertificateKeyStorePassword()
getTrustCertificateKeyStorePassword
in interface ConnectionProperties
public void setTrustCertificateKeyStorePassword(java.lang.String value)
setTrustCertificateKeyStorePassword
in interface ConnectionProperties
public java.lang.String getTrustCertificateKeyStoreType()
getTrustCertificateKeyStoreType
in interface ConnectionProperties
public void setTrustCertificateKeyStoreType(java.lang.String value)
setTrustCertificateKeyStoreType
in interface ConnectionProperties
public java.lang.String getTrustCertificateKeyStoreUrl()
getTrustCertificateKeyStoreUrl
in interface ConnectionProperties
public void setTrustCertificateKeyStoreUrl(java.lang.String value)
setTrustCertificateKeyStoreUrl
in interface ConnectionProperties
public boolean getUseSSPSCompatibleTimezoneShift()
getUseSSPSCompatibleTimezoneShift
in interface ConnectionProperties
public void setUseSSPSCompatibleTimezoneShift(boolean flag)
setUseSSPSCompatibleTimezoneShift
in interface ConnectionProperties
public boolean getTreatUtilDateAsTimestamp()
getTreatUtilDateAsTimestamp
in interface ConnectionProperties
public void setTreatUtilDateAsTimestamp(boolean flag)
setTreatUtilDateAsTimestamp
in interface ConnectionProperties
public boolean getUseFastDateParsing()
getUseFastDateParsing
in interface ConnectionProperties
public void setUseFastDateParsing(boolean flag)
setUseFastDateParsing
in interface ConnectionProperties
public java.lang.String getLocalSocketAddress()
getLocalSocketAddress
in interface ConnectionProperties
public void setLocalSocketAddress(java.lang.String address)
setLocalSocketAddress
in interface ConnectionProperties
public void setUseConfigs(java.lang.String configs)
setUseConfigs
in interface ConnectionProperties
public java.lang.String getUseConfigs()
getUseConfigs
in interface ConnectionProperties
public boolean getGenerateSimpleParameterMetadata()
getGenerateSimpleParameterMetadata
in interface ConnectionProperties
public void setGenerateSimpleParameterMetadata(boolean flag)
setGenerateSimpleParameterMetadata
in interface ConnectionProperties
public boolean getLogXaCommands()
getLogXaCommands
in interface ConnectionProperties
public void setLogXaCommands(boolean flag)
setLogXaCommands
in interface ConnectionProperties
public int getResultSetSizeThreshold()
getResultSetSizeThreshold
in interface ConnectionProperties
public void setResultSetSizeThreshold(int threshold) throws java.sql.SQLException
setResultSetSizeThreshold
in interface ConnectionProperties
java.sql.SQLException
public int getNetTimeoutForStreamingResults()
getNetTimeoutForStreamingResults
in interface ConnectionProperties
public void setNetTimeoutForStreamingResults(int value) throws java.sql.SQLException
setNetTimeoutForStreamingResults
in interface ConnectionProperties
java.sql.SQLException
public boolean getEnableQueryTimeouts()
getEnableQueryTimeouts
in interface ConnectionProperties
public void setEnableQueryTimeouts(boolean flag)
setEnableQueryTimeouts
in interface ConnectionProperties
public boolean getPadCharsWithSpace()
getPadCharsWithSpace
in interface ConnectionProperties
public void setPadCharsWithSpace(boolean flag)
setPadCharsWithSpace
in interface ConnectionProperties
public boolean getUseDynamicCharsetInfo()
getUseDynamicCharsetInfo
in interface ConnectionProperties
public void setUseDynamicCharsetInfo(boolean flag)
setUseDynamicCharsetInfo
in interface ConnectionProperties
public java.lang.String getClientInfoProvider()
getClientInfoProvider
in interface ConnectionProperties
public void setClientInfoProvider(java.lang.String classname)
setClientInfoProvider
in interface ConnectionProperties
public boolean getPopulateInsertRowWithDefaultValues()
getPopulateInsertRowWithDefaultValues
in interface ConnectionProperties
public void setPopulateInsertRowWithDefaultValues(boolean flag)
setPopulateInsertRowWithDefaultValues
in interface ConnectionProperties
public java.lang.String getLoadBalanceStrategy()
getLoadBalanceStrategy
in interface ConnectionProperties
public void setLoadBalanceStrategy(java.lang.String strategy)
setLoadBalanceStrategy
in interface ConnectionProperties
public boolean getTcpNoDelay()
getTcpNoDelay
in interface ConnectionProperties
public void setTcpNoDelay(boolean flag)
setTcpNoDelay
in interface ConnectionProperties
public boolean getTcpKeepAlive()
getTcpKeepAlive
in interface ConnectionProperties
public void setTcpKeepAlive(boolean flag)
setTcpKeepAlive
in interface ConnectionProperties
public int getTcpRcvBuf()
getTcpRcvBuf
in interface ConnectionProperties
public void setTcpRcvBuf(int bufSize) throws java.sql.SQLException
setTcpRcvBuf
in interface ConnectionProperties
java.sql.SQLException
public int getTcpSndBuf()
getTcpSndBuf
in interface ConnectionProperties
public void setTcpSndBuf(int bufSize) throws java.sql.SQLException
setTcpSndBuf
in interface ConnectionProperties
java.sql.SQLException
public int getTcpTrafficClass()
getTcpTrafficClass
in interface ConnectionProperties
public void setTcpTrafficClass(int classFlags) throws java.sql.SQLException
setTcpTrafficClass
in interface ConnectionProperties
java.sql.SQLException
public boolean getUseNanosForElapsedTime()
getUseNanosForElapsedTime
in interface ConnectionProperties
public void setUseNanosForElapsedTime(boolean flag)
setUseNanosForElapsedTime
in interface ConnectionProperties
public long getSlowQueryThresholdNanos()
getSlowQueryThresholdNanos
in interface ConnectionProperties
public void setSlowQueryThresholdNanos(long nanos) throws java.sql.SQLException
setSlowQueryThresholdNanos
in interface ConnectionProperties
java.sql.SQLException
public java.lang.String getStatementInterceptors()
getStatementInterceptors
in interface ConnectionProperties
public void setStatementInterceptors(java.lang.String value)
setStatementInterceptors
in interface ConnectionProperties
public boolean getUseDirectRowUnpack()
getUseDirectRowUnpack
in interface ConnectionProperties
public void setUseDirectRowUnpack(boolean flag)
setUseDirectRowUnpack
in interface ConnectionProperties
public java.lang.String getLargeRowSizeThreshold()
getLargeRowSizeThreshold
in interface ConnectionProperties
public void setLargeRowSizeThreshold(java.lang.String value) throws java.sql.SQLException
setLargeRowSizeThreshold
in interface ConnectionProperties
java.sql.SQLException
public boolean getUseBlobToStoreUTF8OutsideBMP()
getUseBlobToStoreUTF8OutsideBMP
in interface ConnectionProperties
public void setUseBlobToStoreUTF8OutsideBMP(boolean flag)
setUseBlobToStoreUTF8OutsideBMP
in interface ConnectionProperties
public java.lang.String getUtf8OutsideBmpExcludedColumnNamePattern()
getUtf8OutsideBmpExcludedColumnNamePattern
in interface ConnectionProperties
public void setUtf8OutsideBmpExcludedColumnNamePattern(java.lang.String regexPattern)
setUtf8OutsideBmpExcludedColumnNamePattern
in interface ConnectionProperties
public java.lang.String getUtf8OutsideBmpIncludedColumnNamePattern()
getUtf8OutsideBmpIncludedColumnNamePattern
in interface ConnectionProperties
public void setUtf8OutsideBmpIncludedColumnNamePattern(java.lang.String regexPattern)
setUtf8OutsideBmpIncludedColumnNamePattern
in interface ConnectionProperties
public boolean getIncludeInnodbStatusInDeadlockExceptions()
getIncludeInnodbStatusInDeadlockExceptions
in interface ConnectionProperties
public void setIncludeInnodbStatusInDeadlockExceptions(boolean flag)
setIncludeInnodbStatusInDeadlockExceptions
in interface ConnectionProperties
public boolean getBlobsAreStrings()
getBlobsAreStrings
in interface ConnectionProperties
public void setBlobsAreStrings(boolean flag)
setBlobsAreStrings
in interface ConnectionProperties
public boolean getFunctionsNeverReturnBlobs()
getFunctionsNeverReturnBlobs
in interface ConnectionProperties
public void setFunctionsNeverReturnBlobs(boolean flag)
setFunctionsNeverReturnBlobs
in interface ConnectionProperties
public boolean getAutoSlowLog()
getAutoSlowLog
in interface ConnectionProperties
public void setAutoSlowLog(boolean flag)
setAutoSlowLog
in interface ConnectionProperties
public java.lang.String getConnectionLifecycleInterceptors()
getConnectionLifecycleInterceptors
in interface ConnectionProperties
public void setConnectionLifecycleInterceptors(java.lang.String interceptors)
setConnectionLifecycleInterceptors
in interface ConnectionProperties
public java.lang.String getProfilerEventHandler()
getProfilerEventHandler
in interface ConnectionProperties
public void setProfilerEventHandler(java.lang.String handler)
setProfilerEventHandler
in interface ConnectionProperties
public boolean getVerifyServerCertificate()
getVerifyServerCertificate
in interface ConnectionProperties
public void setVerifyServerCertificate(boolean flag)
setVerifyServerCertificate
in interface ConnectionProperties
public boolean getUseLegacyDatetimeCode()
getUseLegacyDatetimeCode
in interface ConnectionProperties
public void setUseLegacyDatetimeCode(boolean flag)
setUseLegacyDatetimeCode
in interface ConnectionProperties
public boolean getSendFractionalSeconds()
getSendFractionalSeconds
in interface ConnectionProperties
public void setSendFractionalSeconds(boolean flag)
setSendFractionalSeconds
in interface ConnectionProperties
public int getSelfDestructOnPingSecondsLifetime()
getSelfDestructOnPingSecondsLifetime
in interface ConnectionProperties
public void setSelfDestructOnPingSecondsLifetime(int seconds) throws java.sql.SQLException
setSelfDestructOnPingSecondsLifetime
in interface ConnectionProperties
java.sql.SQLException
public int getSelfDestructOnPingMaxOperations()
getSelfDestructOnPingMaxOperations
in interface ConnectionProperties
public void setSelfDestructOnPingMaxOperations(int maxOperations) throws java.sql.SQLException
setSelfDestructOnPingMaxOperations
in interface ConnectionProperties
java.sql.SQLException
public boolean getUseColumnNamesInFindColumn()
getUseColumnNamesInFindColumn
in interface ConnectionProperties
public void setUseColumnNamesInFindColumn(boolean flag)
setUseColumnNamesInFindColumn
in interface ConnectionProperties
public boolean getUseLocalTransactionState()
getUseLocalTransactionState
in interface ConnectionProperties
public void setUseLocalTransactionState(boolean flag)
setUseLocalTransactionState
in interface ConnectionProperties
public boolean getCompensateOnDuplicateKeyUpdateCounts()
getCompensateOnDuplicateKeyUpdateCounts
in interface ConnectionProperties
public void setCompensateOnDuplicateKeyUpdateCounts(boolean flag)
setCompensateOnDuplicateKeyUpdateCounts
in interface ConnectionProperties
public int getLoadBalanceBlacklistTimeout()
getLoadBalanceBlacklistTimeout
in interface ConnectionProperties
public void setLoadBalanceBlacklistTimeout(int loadBalanceBlacklistTimeout) throws java.sql.SQLException
setLoadBalanceBlacklistTimeout
in interface ConnectionProperties
java.sql.SQLException
public int getLoadBalancePingTimeout()
getLoadBalancePingTimeout
in interface ConnectionProperties
public void setLoadBalancePingTimeout(int loadBalancePingTimeout) throws java.sql.SQLException
setLoadBalancePingTimeout
in interface ConnectionProperties
java.sql.SQLException
public void setRetriesAllDown(int retriesAllDown) throws java.sql.SQLException
setRetriesAllDown
in interface ConnectionProperties
java.sql.SQLException
public int getRetriesAllDown()
getRetriesAllDown
in interface ConnectionProperties
public void setUseAffectedRows(boolean flag)
setUseAffectedRows
in interface ConnectionProperties
public boolean getUseAffectedRows()
getUseAffectedRows
in interface ConnectionProperties
public void setPasswordCharacterEncoding(java.lang.String characterSet)
setPasswordCharacterEncoding
in interface ConnectionProperties
public java.lang.String getPasswordCharacterEncoding()
getPasswordCharacterEncoding
in interface ConnectionProperties
public void setExceptionInterceptors(java.lang.String exceptionInterceptors)
setExceptionInterceptors
in interface ConnectionProperties
public java.lang.String getExceptionInterceptors()
getExceptionInterceptors
in interface ConnectionProperties
public void setMaxAllowedPacket(int max) throws java.sql.SQLException
java.sql.SQLException
public int getMaxAllowedPacket()
getMaxAllowedPacket
in interface ConnectionProperties
public boolean getQueryTimeoutKillsConnection()
getQueryTimeoutKillsConnection
in interface ConnectionProperties
public void setQueryTimeoutKillsConnection(boolean queryTimeoutKillsConnection)
setQueryTimeoutKillsConnection
in interface ConnectionProperties
public boolean getLoadBalanceValidateConnectionOnSwapServer()
getLoadBalanceValidateConnectionOnSwapServer
in interface ConnectionProperties
public void setLoadBalanceValidateConnectionOnSwapServer(boolean loadBalanceValidateConnectionOnSwapServer)
setLoadBalanceValidateConnectionOnSwapServer
in interface ConnectionProperties
public java.lang.String getLoadBalanceConnectionGroup()
getLoadBalanceConnectionGroup
in interface ConnectionProperties
public void setLoadBalanceConnectionGroup(java.lang.String loadBalanceConnectionGroup)
setLoadBalanceConnectionGroup
in interface ConnectionProperties
public java.lang.String getLoadBalanceExceptionChecker()
getLoadBalanceExceptionChecker
in interface ConnectionProperties
public void setLoadBalanceExceptionChecker(java.lang.String loadBalanceExceptionChecker)
setLoadBalanceExceptionChecker
in interface ConnectionProperties
public java.lang.String getLoadBalanceSQLStateFailover()
getLoadBalanceSQLStateFailover
in interface ConnectionProperties
public void setLoadBalanceSQLStateFailover(java.lang.String loadBalanceSQLStateFailover)
setLoadBalanceSQLStateFailover
in interface ConnectionProperties
public java.lang.String getLoadBalanceSQLExceptionSubclassFailover()
getLoadBalanceSQLExceptionSubclassFailover
in interface ConnectionProperties
public void setLoadBalanceSQLExceptionSubclassFailover(java.lang.String loadBalanceSQLExceptionSubclassFailover)
setLoadBalanceSQLExceptionSubclassFailover
in interface ConnectionProperties
public boolean getLoadBalanceEnableJMX()
getLoadBalanceEnableJMX
in interface ConnectionProperties
public void setLoadBalanceEnableJMX(boolean loadBalanceEnableJMX)
setLoadBalanceEnableJMX
in interface ConnectionProperties
public void setLoadBalanceAutoCommitStatementThreshold(int loadBalanceAutoCommitStatementThreshold) throws java.sql.SQLException
setLoadBalanceAutoCommitStatementThreshold
in interface ConnectionProperties
java.sql.SQLException
public int getLoadBalanceAutoCommitStatementThreshold()
getLoadBalanceAutoCommitStatementThreshold
in interface ConnectionProperties
public void setLoadBalanceAutoCommitStatementRegex(java.lang.String loadBalanceAutoCommitStatementRegex)
setLoadBalanceAutoCommitStatementRegex
in interface ConnectionProperties
public java.lang.String getLoadBalanceAutoCommitStatementRegex()
getLoadBalanceAutoCommitStatementRegex
in interface ConnectionProperties
public void setIncludeThreadDumpInDeadlockExceptions(boolean flag)
setIncludeThreadDumpInDeadlockExceptions
in interface ConnectionProperties
public boolean getIncludeThreadDumpInDeadlockExceptions()
getIncludeThreadDumpInDeadlockExceptions
in interface ConnectionProperties
public void setIncludeThreadNamesAsStatementComment(boolean flag)
setIncludeThreadNamesAsStatementComment
in interface ConnectionProperties
public boolean getIncludeThreadNamesAsStatementComment()
getIncludeThreadNamesAsStatementComment
in interface ConnectionProperties
public void setAuthenticationPlugins(java.lang.String authenticationPlugins)
setAuthenticationPlugins
in interface ConnectionProperties
public java.lang.String getAuthenticationPlugins()
getAuthenticationPlugins
in interface ConnectionProperties
public void setDisabledAuthenticationPlugins(java.lang.String disabledAuthenticationPlugins)
setDisabledAuthenticationPlugins
in interface ConnectionProperties
public java.lang.String getDisabledAuthenticationPlugins()
getDisabledAuthenticationPlugins
in interface ConnectionProperties
public void setDefaultAuthenticationPlugin(java.lang.String defaultAuthenticationPlugin)
setDefaultAuthenticationPlugin
in interface ConnectionProperties
public java.lang.String getDefaultAuthenticationPlugin()
getDefaultAuthenticationPlugin
in interface ConnectionProperties
public void setParseInfoCacheFactory(java.lang.String factoryClassname)
setParseInfoCacheFactory
in interface ConnectionProperties
public java.lang.String getParseInfoCacheFactory()
getParseInfoCacheFactory
in interface ConnectionProperties
public void setServerConfigCacheFactory(java.lang.String factoryClassname)
setServerConfigCacheFactory
in interface ConnectionProperties
public java.lang.String getServerConfigCacheFactory()
getServerConfigCacheFactory
in interface ConnectionProperties
public void setDisconnectOnExpiredPasswords(boolean disconnectOnExpiredPasswords)
setDisconnectOnExpiredPasswords
in interface ConnectionProperties
public boolean getDisconnectOnExpiredPasswords()
getDisconnectOnExpiredPasswords
in interface ConnectionProperties
public boolean getAllowMasterDownConnections()
getAllowMasterDownConnections
in interface ConnectionProperties
public void setAllowMasterDownConnections(boolean connectIfMasterDown)
setAllowMasterDownConnections
in interface ConnectionProperties
public boolean getAllowSlaveDownConnections()
getAllowSlaveDownConnections
in interface ConnectionProperties
public void setAllowSlaveDownConnections(boolean connectIfSlaveDown)
setAllowSlaveDownConnections
in interface ConnectionProperties
public boolean getReadFromMasterWhenNoSlaves()
getReadFromMasterWhenNoSlaves
in interface ConnectionProperties
public void setReadFromMasterWhenNoSlaves(boolean useMasterIfSlavesDown)
setReadFromMasterWhenNoSlaves
in interface ConnectionProperties
public boolean getReplicationEnableJMX()
getReplicationEnableJMX
in interface ConnectionProperties
public void setReplicationEnableJMX(boolean replicationEnableJMX)
setReplicationEnableJMX
in interface ConnectionProperties
public void setGetProceduresReturnsFunctions(boolean getProcedureReturnsFunctions)
setGetProceduresReturnsFunctions
in interface ConnectionProperties
public boolean getGetProceduresReturnsFunctions()
getGetProceduresReturnsFunctions
in interface ConnectionProperties
public void setDetectCustomCollations(boolean detectCustomCollations)
setDetectCustomCollations
in interface ConnectionProperties
public boolean getDetectCustomCollations()
getDetectCustomCollations
in interface ConnectionProperties
public java.lang.String getServerRSAPublicKeyFile()
getServerRSAPublicKeyFile
in interface ConnectionProperties
public void setServerRSAPublicKeyFile(java.lang.String serverRSAPublicKeyFile) throws java.sql.SQLException
setServerRSAPublicKeyFile
in interface ConnectionProperties
java.sql.SQLException
public boolean getAllowPublicKeyRetrieval()
getAllowPublicKeyRetrieval
in interface ConnectionProperties
public void setAllowPublicKeyRetrieval(boolean allowPublicKeyRetrieval) throws java.sql.SQLException
setAllowPublicKeyRetrieval
in interface ConnectionProperties
java.sql.SQLException
public void setDontCheckOnDuplicateKeyUpdateInSQL(boolean dontCheckOnDuplicateKeyUpdateInSQL)
setDontCheckOnDuplicateKeyUpdateInSQL
in interface ConnectionProperties
public boolean getDontCheckOnDuplicateKeyUpdateInSQL()
getDontCheckOnDuplicateKeyUpdateInSQL
in interface ConnectionProperties
public void setSocksProxyHost(java.lang.String socksProxyHost)
setSocksProxyHost
in interface ConnectionProperties
public java.lang.String getSocksProxyHost()
getSocksProxyHost
in interface ConnectionProperties
public void setSocksProxyPort(int socksProxyPort) throws java.sql.SQLException
setSocksProxyPort
in interface ConnectionProperties
java.sql.SQLException
public int getSocksProxyPort()
getSocksProxyPort
in interface ConnectionProperties
public boolean getReadOnlyPropagatesToServer()
getReadOnlyPropagatesToServer
in interface ConnectionProperties
public void setReadOnlyPropagatesToServer(boolean flag)
setReadOnlyPropagatesToServer
in interface ConnectionProperties
public java.lang.String getEnabledSSLCipherSuites()
getEnabledSSLCipherSuites
in interface ConnectionProperties
public void setEnabledSSLCipherSuites(java.lang.String cipherSuites)
setEnabledSSLCipherSuites
in interface ConnectionProperties
public boolean getEnableEscapeProcessing()
getEnableEscapeProcessing
in interface ConnectionProperties
public void setEnableEscapeProcessing(boolean flag)
setEnableEscapeProcessing
in interface ConnectionProperties