Interface ConnectionProperties

All Known Subinterfaces:
Connection, JDBC4MySQLConnection, LoadBalancedConnection, MySQLConnection, ReplicationConnection
All Known Implementing Classes:
ConnectionImpl, ConnectionPropertiesImpl, DocsConnectionPropsHelper, JDBC4Connection, JDBC4LoadBalancedMySQLConnection, JDBC4MultiHostMySQLConnection, JDBC4ReplicationMySQLConnection, LoadBalancedMySQLConnection, MultiHostMySQLConnection, ReplicationMySQLConnection

public interface ConnectionProperties
  • Method Details

    • exposeAsXml

      String exposeAsXml() throws SQLException
      Returns a description of the connection properties as an XML document.
      Returns:
      the connection properties as an XML document.
      Throws:
      SQLException - if an error occurs.
    • getAllowLoadLocalInfile

      boolean getAllowLoadLocalInfile()
    • getAllowMultiQueries

      boolean getAllowMultiQueries()
    • getAllowNanAndInf

      boolean getAllowNanAndInf()
      Returns:
      Returns the allowNanAndInf.
    • getAllowUrlInLocalInfile

      boolean getAllowUrlInLocalInfile()
      Returns:
      Returns the allowUrlInLocalInfile.
    • getAlwaysSendSetIsolation

      boolean getAlwaysSendSetIsolation()
      Returns:
      Returns the alwaysSendSetIsolation.
    • getAutoDeserialize

      boolean getAutoDeserialize()
      Returns:
      Returns the autoDeserialize.
    • getAutoGenerateTestcaseScript

      boolean getAutoGenerateTestcaseScript()
    • getAutoReconnectForPools

      boolean getAutoReconnectForPools()
    • getBlobSendChunkSize

      int getBlobSendChunkSize()
      Returns:
      Returns the blobSendChunkSize.
    • getCacheCallableStatements

      boolean getCacheCallableStatements()
      Returns:
      Returns if cacheCallableStatements is enabled
    • getCachePreparedStatements

      boolean getCachePreparedStatements()
      Returns:
      Returns the cachePreparedStatements.
    • getCacheResultSetMetadata

      boolean getCacheResultSetMetadata()
    • getCacheServerConfiguration

      boolean getCacheServerConfiguration()
      Returns:
      Returns the cacheServerConfiguration.
    • getCallableStatementCacheSize

      int getCallableStatementCacheSize()
      Returns:
      Returns the callableStatementCacheSize.
    • getCapitalizeTypeNames

      boolean getCapitalizeTypeNames()
    • getCharacterSetResults

      String getCharacterSetResults()
      Returns:
      Returns the characterSetResults.
    • getClobberStreamingResults

      boolean getClobberStreamingResults()
      Returns:
      Returns the clobberStreamingResults.
    • getClobCharacterEncoding

      String getClobCharacterEncoding()
    • getConnectionCollation

      String getConnectionCollation()
      Returns:
      Returns the connectionCollation.
    • getConnectTimeout

      int getConnectTimeout()
    • getContinueBatchOnError

      boolean getContinueBatchOnError()
    • getCreateDatabaseIfNotExist

      boolean getCreateDatabaseIfNotExist()
    • getDefaultFetchSize

      int getDefaultFetchSize()
    • getDontTrackOpenResources

      boolean getDontTrackOpenResources()
      Returns:
      Returns the dontTrackOpenResources.
    • getDumpQueriesOnException

      boolean getDumpQueriesOnException()
      Returns:
      Returns the dumpQueriesOnException.
    • getDynamicCalendars

      boolean getDynamicCalendars()
      Returns:
      Returns the dynamicCalendars.
    • getElideSetAutoCommits

      boolean getElideSetAutoCommits()
      Returns:
      Returns the elideSetAutoCommits.
    • getEmptyStringsConvertToZero

      boolean getEmptyStringsConvertToZero()
    • getEmulateLocators

      boolean getEmulateLocators()
    • getEmulateUnsupportedPstmts

      boolean getEmulateUnsupportedPstmts()
      Returns:
      Returns the emulateUnsupportedPstmts.
    • getEnablePacketDebug

      boolean getEnablePacketDebug()
      Returns:
      Returns the enablePacketDebug.
    • getEncoding

      String getEncoding()
    • getExplainSlowQueries

      boolean getExplainSlowQueries()
      Returns:
      Returns the explainSlowQueries.
    • getFailOverReadOnly

      boolean getFailOverReadOnly()
      Returns:
      Returns the failOverReadOnly.
    • getGatherPerformanceMetrics

      boolean getGatherPerformanceMetrics()
      Returns:
      Returns the gatherPerformanceMetrics.
    • getHoldResultsOpenOverStatementClose

      boolean getHoldResultsOpenOverStatementClose()
      Returns:
      Returns the holdResultsOpenOverStatementClose.
    • getIgnoreNonTxTables

      boolean getIgnoreNonTxTables()
    • getInitialTimeout

      int getInitialTimeout()
    • getInteractiveClient

      boolean getInteractiveClient()
    • getIsInteractiveClient

      boolean getIsInteractiveClient()
      Returns:
      Returns the isInteractiveClient.
    • getJdbcCompliantTruncation

      boolean getJdbcCompliantTruncation()
      Returns:
      Returns the jdbcCompliantTruncation.
    • getLocatorFetchBufferSize

      int getLocatorFetchBufferSize()
      Returns:
      Returns the dontTrackOpenResources.
    • getLogger

      String getLogger()
    • getLoggerClassName

      String getLoggerClassName()
      Returns:
      Returns the loggerClassName.
    • getLogSlowQueries

      boolean getLogSlowQueries()
      Returns:
      Returns the logSlowQueries.
    • getMaintainTimeStats

      boolean getMaintainTimeStats()
    • getMaxQuerySizeToLog

      int getMaxQuerySizeToLog()
      Returns:
      Returns the maxQuerySizeToLog.
    • getMaxReconnects

      int getMaxReconnects()
    • getMaxRows

      int getMaxRows()
    • getMetadataCacheSize

      int getMetadataCacheSize()
      Returns the number of queries that metadata can be cached if caching is enabled.
      Returns:
      the number of queries to cache metadata for.
    • getNoDatetimeStringSync

      boolean getNoDatetimeStringSync()
      Returns:
      Returns the noDatetimeStringSync.
    • getNullCatalogMeansCurrent

      boolean getNullCatalogMeansCurrent()
    • getNullNamePatternMatchesAll

      boolean getNullNamePatternMatchesAll()
    • getPacketDebugBufferSize

      int getPacketDebugBufferSize()
      Returns:
      Returns the packetDebugBufferSize.
    • getParanoid

      boolean getParanoid()
    • getPedantic

      boolean getPedantic()
    • getPreparedStatementCacheSize

      int getPreparedStatementCacheSize()
      Returns:
      Returns the preparedStatementCacheSize.
    • getPreparedStatementCacheSqlLimit

      int getPreparedStatementCacheSqlLimit()
      Returns:
      Returns the preparedStatementCacheSqlLimit.
    • getProfileSql

      boolean getProfileSql()
    • getProfileSQL

      boolean getProfileSQL()
      Returns:
      Returns the profileSQL flag
    • getPropertiesTransform

      String getPropertiesTransform()
      Returns:
      Returns the propertiesTransform.
    • getQueriesBeforeRetryMaster

      int getQueriesBeforeRetryMaster()
    • getReconnectAtTxEnd

      boolean getReconnectAtTxEnd()
    • getRelaxAutoCommit

      boolean getRelaxAutoCommit()
    • getReportMetricsIntervalMillis

      int getReportMetricsIntervalMillis()
      Returns:
      Returns the reportMetricsIntervalMillis.
    • getRequireSSL

      boolean getRequireSSL()
    • getRollbackOnPooledClose

      boolean getRollbackOnPooledClose()
      Returns:
      Returns the rollbackOnPooledClose.
    • getRoundRobinLoadBalance

      boolean getRoundRobinLoadBalance()
      Returns whether or not hosts will be picked in a round-robin fashion.
      Returns:
      Returns the roundRobinLoadBalance property.
    • getRunningCTS13

      boolean getRunningCTS13()
      Returns:
      Returns the runningCTS13.
    • getSecondsBeforeRetryMaster

      int getSecondsBeforeRetryMaster()
    • getServerTimezone

      String getServerTimezone()
      Returns the 'serverTimezone' property.
      Returns:
      the configured server timezone property.
    • getSessionVariables

      String getSessionVariables()
      Returns:
      Returns the sessionVariables.
    • getSlowQueryThresholdMillis

      int getSlowQueryThresholdMillis()
      Returns:
      Returns the slowQueryThresholdMillis.
    • getSocketFactoryClassName

      String getSocketFactoryClassName()
    • getSocketTimeout

      int getSocketTimeout()
    • getStrictFloatingPoint

      boolean getStrictFloatingPoint()
    • getStrictUpdates

      boolean getStrictUpdates()
    • getTinyInt1isBit

      boolean getTinyInt1isBit()
      Returns:
      Returns the tinyInt1isBit.
    • getTraceProtocol

      boolean getTraceProtocol()
      Returns:
      Returns the logProtocol.
    • getTransformedBitIsBoolean

      boolean getTransformedBitIsBoolean()
    • getUseCompression

      boolean getUseCompression()
    • getUseFastIntParsing

      boolean getUseFastIntParsing()
      Returns:
      Returns the useFastIntParsing.
    • getUseHostsInPrivileges

      boolean getUseHostsInPrivileges()
    • getUseInformationSchema

      boolean getUseInformationSchema()
    • getUseLocalSessionState

      boolean getUseLocalSessionState()
      Returns:
      Returns the useLocalSessionState.
    • getUseOldUTF8Behavior

      boolean getUseOldUTF8Behavior()
      Returns:
      Returns the useOldUTF8Behavior.
    • getUseOnlyServerErrorMessages

      boolean getUseOnlyServerErrorMessages()
      Returns:
      Returns the useOnlyServerErrorMessages.
    • getUseReadAheadInput

      boolean getUseReadAheadInput()
      Returns:
      Returns the useReadAheadInput.
    • getUseServerPreparedStmts

      boolean getUseServerPreparedStmts()
    • getUseSqlStateCodes

      boolean getUseSqlStateCodes()
      Returns:
      Returns the useSqlStateCodes state.
    • getUseSSL

      boolean getUseSSL()
    • isUseSSLExplicit

      boolean isUseSSLExplicit()
    • getUseStreamLengthsInPrepStmts

      boolean getUseStreamLengthsInPrepStmts()
    • getUseTimezone

      boolean getUseTimezone()
    • getUseUltraDevWorkAround

      boolean getUseUltraDevWorkAround()
    • getUseUnbufferedInput

      boolean getUseUnbufferedInput()
      Returns:
      Returns the useUnbufferedInput.
    • getUseUnicode

      boolean getUseUnicode()
    • getUseUsageAdvisor

      boolean getUseUsageAdvisor()
      Returns whether or not the driver advises of proper usage.
      Returns:
      the value of useUsageAdvisor
    • getYearIsDateType

      boolean getYearIsDateType()
    • getZeroDateTimeBehavior

      String getZeroDateTimeBehavior()
      Returns:
      Returns the zeroDateTimeBehavior.
    • setAllowLoadLocalInfile

      void setAllowLoadLocalInfile(boolean property)
    • setAllowMultiQueries

      void setAllowMultiQueries(boolean property)
      Parameters:
      property -
    • setAllowNanAndInf

      void setAllowNanAndInf(boolean flag)
      Parameters:
      allowNanAndInf - The allowNanAndInf to set.
    • setAllowUrlInLocalInfile

      void setAllowUrlInLocalInfile(boolean flag)
      Parameters:
      allowUrlInLocalInfile - The allowUrlInLocalInfile to set.
    • setAlwaysSendSetIsolation

      void setAlwaysSendSetIsolation(boolean flag)
      Parameters:
      alwaysSendSetIsolation - The alwaysSendSetIsolation to set.
    • setAutoDeserialize

      void setAutoDeserialize(boolean flag)
      Parameters:
      autoDeserialize - The autoDeserialize to set.
    • setAutoGenerateTestcaseScript

      void setAutoGenerateTestcaseScript(boolean flag)
    • setAutoReconnect

      void setAutoReconnect(boolean flag)
      Parameters:
      flag - The autoReconnect to set.
    • setAutoReconnectForConnectionPools

      void setAutoReconnectForConnectionPools(boolean property)
    • setAutoReconnectForPools

      void setAutoReconnectForPools(boolean flag)
      Parameters:
      flag - The autoReconnectForPools to set.
    • setBlobSendChunkSize

      void setBlobSendChunkSize(String value) throws SQLException
      Parameters:
      blobSendChunkSize - The blobSendChunkSize to set.
      Throws:
      SQLException
    • setCacheCallableStatements

      void setCacheCallableStatements(boolean flag)
      Parameters:
      flag - The cacheCallableStatements to set.
    • setCachePreparedStatements

      void setCachePreparedStatements(boolean flag)
      Parameters:
      flag - The cachePreparedStatements to set.
    • setCacheResultSetMetadata

      void setCacheResultSetMetadata(boolean property)
      Sets whether or not we should cache result set metadata.
      Parameters:
      property -
    • setCacheServerConfiguration

      void setCacheServerConfiguration(boolean flag)
      Parameters:
      cacheServerConfiguration - The cacheServerConfiguration to set.
    • setCallableStatementCacheSize

      void setCallableStatementCacheSize(int size) throws SQLException
      Configures the number of callable statements to cache. (this is configurable during the life of the connection).
      Parameters:
      size - The callableStatementCacheSize to set.
      Throws:
      SQLException
    • setCapitalizeDBMDTypes

      void setCapitalizeDBMDTypes(boolean property)
    • setCapitalizeTypeNames

      void setCapitalizeTypeNames(boolean flag)
      Parameters:
      flag - The capitalizeTypeNames to set.
    • setCharacterEncoding

      void setCharacterEncoding(String encoding)
      Parameters:
      encoding - The characterEncoding to set.
    • setCharacterSetResults

      void setCharacterSetResults(String characterSet)
      Parameters:
      characterSet - The characterSetResults to set.
    • setClobberStreamingResults

      void setClobberStreamingResults(boolean flag)
      Parameters:
      flag - The clobberStreamingResults to set.
    • setClobCharacterEncoding

      void setClobCharacterEncoding(String encoding)
    • setConnectionCollation

      void setConnectionCollation(String collation)
      Parameters:
      collation - The connectionCollation to set.
    • setConnectTimeout

      void setConnectTimeout(int timeoutMs) throws SQLException
      Parameters:
      timeoutMs -
      Throws:
      SQLException
    • setContinueBatchOnError

      void setContinueBatchOnError(boolean property)
      Parameters:
      property -
    • setCreateDatabaseIfNotExist

      void setCreateDatabaseIfNotExist(boolean flag)
    • setDefaultFetchSize

      void setDefaultFetchSize(int n) throws SQLException
      Throws:
      SQLException
    • setDetectServerPreparedStmts

      void setDetectServerPreparedStmts(boolean property)
      Parameters:
      property -
    • setDontTrackOpenResources

      void setDontTrackOpenResources(boolean flag)
      Parameters:
      dontTrackOpenResources - The dontTrackOpenResources to set.
    • setDumpQueriesOnException

      void setDumpQueriesOnException(boolean flag)
      Parameters:
      flag - The dumpQueriesOnException to set.
    • setDynamicCalendars

      void setDynamicCalendars(boolean flag)
      Parameters:
      dynamicCalendars - The dynamicCalendars to set.
    • setElideSetAutoCommits

      void setElideSetAutoCommits(boolean flag)
      Parameters:
      flag - The elideSetAutoCommits to set.
    • setEmptyStringsConvertToZero

      void setEmptyStringsConvertToZero(boolean flag)
    • setEmulateLocators

      void setEmulateLocators(boolean property)
      Parameters:
      property -
    • setEmulateUnsupportedPstmts

      void setEmulateUnsupportedPstmts(boolean flag)
      Parameters:
      emulateUnsupportedPstmts - The emulateUnsupportedPstmts to set.
    • setEnablePacketDebug

      void setEnablePacketDebug(boolean flag)
      Parameters:
      flag - The enablePacketDebug to set.
    • setEncoding

      void setEncoding(String property)
      Parameters:
      property -
    • setExplainSlowQueries

      void setExplainSlowQueries(boolean flag)
      Parameters:
      flag - The explainSlowQueries to set.
    • setFailOverReadOnly

      void setFailOverReadOnly(boolean flag)
      Parameters:
      flag - The failOverReadOnly to set.
    • setGatherPerformanceMetrics

      void setGatherPerformanceMetrics(boolean flag)
      Parameters:
      flag - The gatherPerformanceMetrics to set.
    • setHoldResultsOpenOverStatementClose

      void setHoldResultsOpenOverStatementClose(boolean flag)
      Parameters:
      holdResultsOpenOverStatementClose - The holdResultsOpenOverStatementClose to set.
    • setIgnoreNonTxTables

      void setIgnoreNonTxTables(boolean property)
      Parameters:
      property -
    • setInitialTimeout

      void setInitialTimeout(int property) throws SQLException
      Parameters:
      property -
      Throws:
      SQLException
    • setIsInteractiveClient

      void setIsInteractiveClient(boolean property)
      Parameters:
      property -
    • setJdbcCompliantTruncation

      void setJdbcCompliantTruncation(boolean flag)
      Parameters:
      flag - The jdbcCompliantTruncation to set.
    • setLocatorFetchBufferSize

      void setLocatorFetchBufferSize(String value) throws SQLException
      Parameters:
      locatorFetchBufferSize - The locatorFetchBufferSize to set.
      Throws:
      SQLException
    • setLogger

      void setLogger(String property)
      Parameters:
      property -
    • setLoggerClassName

      void setLoggerClassName(String className)
      Parameters:
      className - The loggerClassName to set.
    • setLogSlowQueries

      void setLogSlowQueries(boolean flag)
      Parameters:
      flag - The logSlowQueries to set.
    • setMaintainTimeStats

      void setMaintainTimeStats(boolean flag)
    • setMaxQuerySizeToLog

      void setMaxQuerySizeToLog(int sizeInBytes) throws SQLException
      Parameters:
      sizeInBytes - The maxQuerySizeToLog to set.
      Throws:
      SQLException
    • setMaxReconnects

      void setMaxReconnects(int property) throws SQLException
      Parameters:
      property -
      Throws:
      SQLException
    • setMaxRows

      void setMaxRows(int property) throws SQLException
      Parameters:
      property -
      Throws:
      SQLException
    • setMetadataCacheSize

      void setMetadataCacheSize(int value) throws SQLException
      Sets the number of queries that metadata can be cached if caching is enabled.
      Parameters:
      value - the number of queries to cache metadata for.
      Throws:
      SQLException
    • setNoDatetimeStringSync

      void setNoDatetimeStringSync(boolean flag)
      Parameters:
      noDatetimeStringSync - The noDatetimeStringSync to set.
    • setNullCatalogMeansCurrent

      void setNullCatalogMeansCurrent(boolean value)
    • setNullNamePatternMatchesAll

      void setNullNamePatternMatchesAll(boolean value)
    • setPacketDebugBufferSize

      void setPacketDebugBufferSize(int size) throws SQLException
      Parameters:
      size - The packetDebugBufferSize to set.
      Throws:
      SQLException
    • setParanoid

      void setParanoid(boolean property)
      Parameters:
      property -
    • setPedantic

      void setPedantic(boolean property)
      Parameters:
      property -
    • setPreparedStatementCacheSize

      void setPreparedStatementCacheSize(int cacheSize) throws SQLException
      Parameters:
      cacheSize - The preparedStatementCacheSize to set.
      Throws:
      SQLException
    • setPreparedStatementCacheSqlLimit

      void setPreparedStatementCacheSqlLimit(int cacheSqlLimit) throws SQLException
      Parameters:
      cacheSqlLimit - The preparedStatementCacheSqlLimit to set.
      Throws:
      SQLException
    • setProfileSql

      void setProfileSql(boolean property)
      Parameters:
      property -
    • setProfileSQL

      void setProfileSQL(boolean flag)
      Parameters:
      flag - The profileSQL to set.
    • setPropertiesTransform

      void setPropertiesTransform(String value)
      Parameters:
      propertiesTransform - The propertiesTransform to set.
    • setQueriesBeforeRetryMaster

      void setQueriesBeforeRetryMaster(int property) throws SQLException
      Parameters:
      property -
      Throws:
      SQLException
    • setReconnectAtTxEnd

      void setReconnectAtTxEnd(boolean property)
      Parameters:
      property -
    • setRelaxAutoCommit

      void setRelaxAutoCommit(boolean property)
      Parameters:
      property -
    • setReportMetricsIntervalMillis

      void setReportMetricsIntervalMillis(int millis) throws SQLException
      Parameters:
      millis - The reportMetricsIntervalMillis to set.
      Throws:
      SQLException
    • setRequireSSL

      void setRequireSSL(boolean property)
      Parameters:
      property -
    • setRetainStatementAfterResultSetClose

      void setRetainStatementAfterResultSetClose(boolean flag)
    • setRollbackOnPooledClose

      void setRollbackOnPooledClose(boolean flag)
      Parameters:
      rollbackOnPooledClose - The rollbackOnPooledClose to set.
    • setRoundRobinLoadBalance

      void setRoundRobinLoadBalance(boolean flag)
      Sets whether or not hosts will be picked in a round-robin fashion.
      Parameters:
      flag - The roundRobinLoadBalance property to set.
    • setRunningCTS13

      void setRunningCTS13(boolean flag)
      Parameters:
      runningCTS13 - The runningCTS13 to set.
    • setSecondsBeforeRetryMaster

      void setSecondsBeforeRetryMaster(int property) throws SQLException
      Parameters:
      property -
      Throws:
      SQLException
    • setServerTimezone

      void setServerTimezone(String property)
      Parameters:
      property -
    • setSessionVariables

      void setSessionVariables(String variables)
      Parameters:
      sessionVariables - The sessionVariables to set.
    • setSlowQueryThresholdMillis

      void setSlowQueryThresholdMillis(int millis) throws SQLException
      Parameters:
      millis - The slowQueryThresholdMillis to set.
      Throws:
      SQLException
    • setSocketFactoryClassName

      void setSocketFactoryClassName(String property)
      Parameters:
      property -
    • setSocketTimeout

      void setSocketTimeout(int property) throws SQLException
      Parameters:
      property -
      Throws:
      SQLException
    • setStrictFloatingPoint

      void setStrictFloatingPoint(boolean property)
      Parameters:
      property -
    • setStrictUpdates

      void setStrictUpdates(boolean property)
      Parameters:
      property -
    • setTinyInt1isBit

      void setTinyInt1isBit(boolean flag)
      Parameters:
      tinyInt1isBit - The tinyInt1isBit to set.
    • setTraceProtocol

      void setTraceProtocol(boolean flag)
      Parameters:
      flag - The logProtocol to set.
    • setTransformedBitIsBoolean

      void setTransformedBitIsBoolean(boolean flag)
    • setUseCompression

      void setUseCompression(boolean property)
      Parameters:
      property -
    • setUseFastIntParsing

      void setUseFastIntParsing(boolean flag)
      Parameters:
      useFastIntParsing - The useFastIntParsing to set.
    • setUseHostsInPrivileges

      void setUseHostsInPrivileges(boolean property)
      Parameters:
      property -
    • setUseInformationSchema

      void setUseInformationSchema(boolean flag)
    • setUseLocalSessionState

      void setUseLocalSessionState(boolean flag)
      Parameters:
      useLocalSessionState - The useLocalSessionState to set.
    • setUseOldUTF8Behavior

      void setUseOldUTF8Behavior(boolean flag)
      Parameters:
      useOldUTF8Behavior - The useOldUTF8Behavior to set.
    • setUseOnlyServerErrorMessages

      void setUseOnlyServerErrorMessages(boolean flag)
      Parameters:
      useOnlyServerErrorMessages - The useOnlyServerErrorMessages to set.
    • setUseReadAheadInput

      void setUseReadAheadInput(boolean flag)
      Parameters:
      useReadAheadInput - The useReadAheadInput to set.
    • setUseServerPreparedStmts

      void setUseServerPreparedStmts(boolean flag)
      Parameters:
      flag - The detectServerPreparedStmts to set.
    • setUseSqlStateCodes

      void setUseSqlStateCodes(boolean flag)
      Parameters:
      flag - The useSqlStateCodes to set.
    • setUseSSL

      void setUseSSL(boolean property)
      Parameters:
      property -
    • setUseStreamLengthsInPrepStmts

      void setUseStreamLengthsInPrepStmts(boolean property)
      Parameters:
      property -
    • setUseTimezone

      void setUseTimezone(boolean property)
      Parameters:
      property -
    • setUseUltraDevWorkAround

      void setUseUltraDevWorkAround(boolean property)
      Parameters:
      property -
    • setUseUnbufferedInput

      void setUseUnbufferedInput(boolean flag)
      Parameters:
      flag - The useUnbufferedInput to set.
    • setUseUnicode

      void setUseUnicode(boolean flag)
      Parameters:
      flag - The useUnicode to set.
    • setUseUsageAdvisor

      void setUseUsageAdvisor(boolean useUsageAdvisorFlag)
      Sets whether or not the driver advises of proper usage.
      Parameters:
      useUsageAdvisorFlag - whether or not the driver advises of proper usage.
    • setYearIsDateType

      void setYearIsDateType(boolean flag)
    • setZeroDateTimeBehavior

      void setZeroDateTimeBehavior(String behavior)
      Parameters:
      zeroDateTimeBehavior - The zeroDateTimeBehavior to set.
    • useUnbufferedInput

      boolean useUnbufferedInput()
      Returns:
      Returns the useUnbufferedInput.
    • getUseCursorFetch

      boolean getUseCursorFetch()
    • setUseCursorFetch

      void setUseCursorFetch(boolean flag)
    • getOverrideSupportsIntegrityEnhancementFacility

      boolean getOverrideSupportsIntegrityEnhancementFacility()
    • setOverrideSupportsIntegrityEnhancementFacility

      void setOverrideSupportsIntegrityEnhancementFacility(boolean flag)
    • getNoTimezoneConversionForTimeType

      boolean getNoTimezoneConversionForTimeType()
    • setNoTimezoneConversionForTimeType

      void setNoTimezoneConversionForTimeType(boolean flag)
    • getNoTimezoneConversionForDateType

      boolean getNoTimezoneConversionForDateType()
    • setNoTimezoneConversionForDateType

      void setNoTimezoneConversionForDateType(boolean flag)
    • getCacheDefaultTimezone

      boolean getCacheDefaultTimezone()
    • setCacheDefaultTimezone

      void setCacheDefaultTimezone(boolean flag)
    • getUseJDBCCompliantTimezoneShift

      boolean getUseJDBCCompliantTimezoneShift()
    • setUseJDBCCompliantTimezoneShift

      void setUseJDBCCompliantTimezoneShift(boolean flag)
    • getAutoClosePStmtStreams

      boolean getAutoClosePStmtStreams()
    • setAutoClosePStmtStreams

      void setAutoClosePStmtStreams(boolean flag)
    • getProcessEscapeCodesForPrepStmts

      boolean getProcessEscapeCodesForPrepStmts()
    • setProcessEscapeCodesForPrepStmts

      void setProcessEscapeCodesForPrepStmts(boolean flag)
    • getUseGmtMillisForDatetimes

      boolean getUseGmtMillisForDatetimes()
    • setUseGmtMillisForDatetimes

      void setUseGmtMillisForDatetimes(boolean flag)
    • getDumpMetadataOnColumnNotFound

      boolean getDumpMetadataOnColumnNotFound()
    • setDumpMetadataOnColumnNotFound

      void setDumpMetadataOnColumnNotFound(boolean flag)
    • getResourceId

      String getResourceId()
    • setResourceId

      void setResourceId(String resourceId)
    • getRewriteBatchedStatements

      boolean getRewriteBatchedStatements()
    • setRewriteBatchedStatements

      void setRewriteBatchedStatements(boolean flag)
    • getJdbcCompliantTruncationForReads

      boolean getJdbcCompliantTruncationForReads()
    • setJdbcCompliantTruncationForReads

      void setJdbcCompliantTruncationForReads(boolean jdbcCompliantTruncationForReads)
    • getUseJvmCharsetConverters

      boolean getUseJvmCharsetConverters()
    • setUseJvmCharsetConverters

      void setUseJvmCharsetConverters(boolean flag)
    • getPinGlobalTxToPhysicalConnection

      boolean getPinGlobalTxToPhysicalConnection()
    • setPinGlobalTxToPhysicalConnection

      void setPinGlobalTxToPhysicalConnection(boolean flag)
    • setGatherPerfMetrics

      void setGatherPerfMetrics(boolean flag)
    • getGatherPerfMetrics

      boolean getGatherPerfMetrics()
    • setUltraDevHack

      void setUltraDevHack(boolean flag)
    • getUltraDevHack

      boolean getUltraDevHack()
    • setInteractiveClient

      void setInteractiveClient(boolean property)
    • setSocketFactory

      void setSocketFactory(String name)
    • getSocketFactory

      String getSocketFactory()
    • setUseServerPrepStmts

      void setUseServerPrepStmts(boolean flag)
    • getUseServerPrepStmts

      boolean getUseServerPrepStmts()
    • setCacheCallableStmts

      void setCacheCallableStmts(boolean flag)
    • getCacheCallableStmts

      boolean getCacheCallableStmts()
    • setCachePrepStmts

      void setCachePrepStmts(boolean flag)
    • getCachePrepStmts

      boolean getCachePrepStmts()
    • setCallableStmtCacheSize

      void setCallableStmtCacheSize(int cacheSize) throws SQLException
      Throws:
      SQLException
    • getCallableStmtCacheSize

      int getCallableStmtCacheSize()
    • setPrepStmtCacheSize

      void setPrepStmtCacheSize(int cacheSize) throws SQLException
      Throws:
      SQLException
    • getPrepStmtCacheSize

      int getPrepStmtCacheSize()
    • setPrepStmtCacheSqlLimit

      void setPrepStmtCacheSqlLimit(int sqlLimit) throws SQLException
      Throws:
      SQLException
    • getPrepStmtCacheSqlLimit

      int getPrepStmtCacheSqlLimit()
    • getNoAccessToProcedureBodies

      boolean getNoAccessToProcedureBodies()
    • setNoAccessToProcedureBodies

      void setNoAccessToProcedureBodies(boolean flag)
    • getUseOldAliasMetadataBehavior

      boolean getUseOldAliasMetadataBehavior()
    • setUseOldAliasMetadataBehavior

      void setUseOldAliasMetadataBehavior(boolean flag)
    • getClientCertificateKeyStorePassword

      String getClientCertificateKeyStorePassword()
    • setClientCertificateKeyStorePassword

      void setClientCertificateKeyStorePassword(String value)
    • getClientCertificateKeyStoreType

      String getClientCertificateKeyStoreType()
    • setClientCertificateKeyStoreType

      void setClientCertificateKeyStoreType(String value)
    • getClientCertificateKeyStoreUrl

      String getClientCertificateKeyStoreUrl()
    • setClientCertificateKeyStoreUrl

      void setClientCertificateKeyStoreUrl(String value)
    • getTrustCertificateKeyStorePassword

      String getTrustCertificateKeyStorePassword()
    • setTrustCertificateKeyStorePassword

      void setTrustCertificateKeyStorePassword(String value)
    • getTrustCertificateKeyStoreType

      String getTrustCertificateKeyStoreType()
    • setTrustCertificateKeyStoreType

      void setTrustCertificateKeyStoreType(String value)
    • getTrustCertificateKeyStoreUrl

      String getTrustCertificateKeyStoreUrl()
    • setTrustCertificateKeyStoreUrl

      void setTrustCertificateKeyStoreUrl(String value)
    • getUseSSPSCompatibleTimezoneShift

      boolean getUseSSPSCompatibleTimezoneShift()
    • setUseSSPSCompatibleTimezoneShift

      void setUseSSPSCompatibleTimezoneShift(boolean flag)
    • getTreatUtilDateAsTimestamp

      boolean getTreatUtilDateAsTimestamp()
    • setTreatUtilDateAsTimestamp

      void setTreatUtilDateAsTimestamp(boolean flag)
    • getUseFastDateParsing

      boolean getUseFastDateParsing()
    • setUseFastDateParsing

      void setUseFastDateParsing(boolean flag)
    • getLocalSocketAddress

      String getLocalSocketAddress()
    • setLocalSocketAddress

      void setLocalSocketAddress(String address)
    • setUseConfigs

      void setUseConfigs(String configs)
    • getUseConfigs

      String getUseConfigs()
    • getGenerateSimpleParameterMetadata

      boolean getGenerateSimpleParameterMetadata()
    • setGenerateSimpleParameterMetadata

      void setGenerateSimpleParameterMetadata(boolean flag)
    • getLogXaCommands

      boolean getLogXaCommands()
    • setLogXaCommands

      void setLogXaCommands(boolean flag)
    • getResultSetSizeThreshold

      int getResultSetSizeThreshold()
    • setResultSetSizeThreshold

      void setResultSetSizeThreshold(int threshold) throws SQLException
      Throws:
      SQLException
    • getNetTimeoutForStreamingResults

      int getNetTimeoutForStreamingResults()
    • setNetTimeoutForStreamingResults

      void setNetTimeoutForStreamingResults(int value) throws SQLException
      Throws:
      SQLException
    • getEnableQueryTimeouts

      boolean getEnableQueryTimeouts()
    • setEnableQueryTimeouts

      void setEnableQueryTimeouts(boolean flag)
    • getPadCharsWithSpace

      boolean getPadCharsWithSpace()
    • setPadCharsWithSpace

      void setPadCharsWithSpace(boolean flag)
    • getUseDynamicCharsetInfo

      boolean getUseDynamicCharsetInfo()
    • setUseDynamicCharsetInfo

      void setUseDynamicCharsetInfo(boolean flag)
    • getClientInfoProvider

      String getClientInfoProvider()
    • setClientInfoProvider

      void setClientInfoProvider(String classname)
    • getPopulateInsertRowWithDefaultValues

      boolean getPopulateInsertRowWithDefaultValues()
    • setPopulateInsertRowWithDefaultValues

      void setPopulateInsertRowWithDefaultValues(boolean flag)
    • getLoadBalanceStrategy

      String getLoadBalanceStrategy()
    • setLoadBalanceStrategy

      void setLoadBalanceStrategy(String strategy)
    • getServerAffinityOrder

      String getServerAffinityOrder()
    • setServerAffinityOrder

      void setServerAffinityOrder(String hostsList)
    • getTcpNoDelay

      boolean getTcpNoDelay()
    • setTcpNoDelay

      void setTcpNoDelay(boolean flag)
    • getTcpKeepAlive

      boolean getTcpKeepAlive()
    • setTcpKeepAlive

      void setTcpKeepAlive(boolean flag)
    • getTcpRcvBuf

      int getTcpRcvBuf()
    • setTcpRcvBuf

      void setTcpRcvBuf(int bufSize) throws SQLException
      Throws:
      SQLException
    • getTcpSndBuf

      int getTcpSndBuf()
    • setTcpSndBuf

      void setTcpSndBuf(int bufSize) throws SQLException
      Throws:
      SQLException
    • getTcpTrafficClass

      int getTcpTrafficClass()
    • setTcpTrafficClass

      void setTcpTrafficClass(int classFlags) throws SQLException
      Throws:
      SQLException
    • getUseNanosForElapsedTime

      boolean getUseNanosForElapsedTime()
    • setUseNanosForElapsedTime

      void setUseNanosForElapsedTime(boolean flag)
    • getSlowQueryThresholdNanos

      long getSlowQueryThresholdNanos()
    • setSlowQueryThresholdNanos

      void setSlowQueryThresholdNanos(long nanos) throws SQLException
      Throws:
      SQLException
    • getStatementInterceptors

      String getStatementInterceptors()
    • setStatementInterceptors

      void setStatementInterceptors(String value)
    • getUseDirectRowUnpack

      boolean getUseDirectRowUnpack()
    • setUseDirectRowUnpack

      void setUseDirectRowUnpack(boolean flag)
    • getLargeRowSizeThreshold

      String getLargeRowSizeThreshold()
    • setLargeRowSizeThreshold

      void setLargeRowSizeThreshold(String value) throws SQLException
      Throws:
      SQLException
    • getUseBlobToStoreUTF8OutsideBMP

      boolean getUseBlobToStoreUTF8OutsideBMP()
    • setUseBlobToStoreUTF8OutsideBMP

      void setUseBlobToStoreUTF8OutsideBMP(boolean flag)
    • getUtf8OutsideBmpExcludedColumnNamePattern

      String getUtf8OutsideBmpExcludedColumnNamePattern()
    • setUtf8OutsideBmpExcludedColumnNamePattern

      void setUtf8OutsideBmpExcludedColumnNamePattern(String regexPattern)
    • getUtf8OutsideBmpIncludedColumnNamePattern

      String getUtf8OutsideBmpIncludedColumnNamePattern()
    • setUtf8OutsideBmpIncludedColumnNamePattern

      void setUtf8OutsideBmpIncludedColumnNamePattern(String regexPattern)
    • getIncludeInnodbStatusInDeadlockExceptions

      boolean getIncludeInnodbStatusInDeadlockExceptions()
    • setIncludeInnodbStatusInDeadlockExceptions

      void setIncludeInnodbStatusInDeadlockExceptions(boolean flag)
    • getIncludeThreadDumpInDeadlockExceptions

      boolean getIncludeThreadDumpInDeadlockExceptions()
    • setIncludeThreadDumpInDeadlockExceptions

      void setIncludeThreadDumpInDeadlockExceptions(boolean flag)
    • getIncludeThreadNamesAsStatementComment

      boolean getIncludeThreadNamesAsStatementComment()
    • setIncludeThreadNamesAsStatementComment

      void setIncludeThreadNamesAsStatementComment(boolean flag)
    • getBlobsAreStrings

      boolean getBlobsAreStrings()
    • setBlobsAreStrings

      void setBlobsAreStrings(boolean flag)
    • getFunctionsNeverReturnBlobs

      boolean getFunctionsNeverReturnBlobs()
    • setFunctionsNeverReturnBlobs

      void setFunctionsNeverReturnBlobs(boolean flag)
    • getAutoSlowLog

      boolean getAutoSlowLog()
    • setAutoSlowLog

      void setAutoSlowLog(boolean flag)
    • getConnectionLifecycleInterceptors

      String getConnectionLifecycleInterceptors()
    • setConnectionLifecycleInterceptors

      void setConnectionLifecycleInterceptors(String interceptors)
    • getProfilerEventHandler

      String getProfilerEventHandler()
    • setProfilerEventHandler

      void setProfilerEventHandler(String handler)
    • getVerifyServerCertificate

      boolean getVerifyServerCertificate()
    • setVerifyServerCertificate

      void setVerifyServerCertificate(boolean flag)
    • getUseLegacyDatetimeCode

      boolean getUseLegacyDatetimeCode()
    • setUseLegacyDatetimeCode

      void setUseLegacyDatetimeCode(boolean flag)
    • getSendFractionalSeconds

      boolean getSendFractionalSeconds()
    • setSendFractionalSeconds

      void setSendFractionalSeconds(boolean flag)
    • getSelfDestructOnPingSecondsLifetime

      int getSelfDestructOnPingSecondsLifetime()
    • setSelfDestructOnPingSecondsLifetime

      void setSelfDestructOnPingSecondsLifetime(int seconds) throws SQLException
      Throws:
      SQLException
    • getSelfDestructOnPingMaxOperations

      int getSelfDestructOnPingMaxOperations()
    • setSelfDestructOnPingMaxOperations

      void setSelfDestructOnPingMaxOperations(int maxOperations) throws SQLException
      Throws:
      SQLException
    • getUseColumnNamesInFindColumn

      boolean getUseColumnNamesInFindColumn()
    • setUseColumnNamesInFindColumn

      void setUseColumnNamesInFindColumn(boolean flag)
    • getUseLocalTransactionState

      boolean getUseLocalTransactionState()
    • setUseLocalTransactionState

      void setUseLocalTransactionState(boolean flag)
    • getCompensateOnDuplicateKeyUpdateCounts

      boolean getCompensateOnDuplicateKeyUpdateCounts()
    • setCompensateOnDuplicateKeyUpdateCounts

      void setCompensateOnDuplicateKeyUpdateCounts(boolean flag)
    • setUseAffectedRows

      void setUseAffectedRows(boolean flag)
    • getUseAffectedRows

      boolean getUseAffectedRows()
    • setPasswordCharacterEncoding

      void setPasswordCharacterEncoding(String characterSet)
    • getPasswordCharacterEncoding

      String getPasswordCharacterEncoding()
    • getLoadBalanceBlacklistTimeout

      int getLoadBalanceBlacklistTimeout()
    • setLoadBalanceBlacklistTimeout

      void setLoadBalanceBlacklistTimeout(int loadBalanceBlacklistTimeout) throws SQLException
      Throws:
      SQLException
    • setRetriesAllDown

      void setRetriesAllDown(int retriesAllDown) throws SQLException
      Throws:
      SQLException
    • getRetriesAllDown

      int getRetriesAllDown()
    • getExceptionInterceptor

      ExceptionInterceptor getExceptionInterceptor()
    • setExceptionInterceptors

      void setExceptionInterceptors(String exceptionInterceptors)
    • getExceptionInterceptors

      String getExceptionInterceptors()
    • getQueryTimeoutKillsConnection

      boolean getQueryTimeoutKillsConnection()
    • setQueryTimeoutKillsConnection

      void setQueryTimeoutKillsConnection(boolean queryTimeoutKillsConnection)
    • getMaxAllowedPacket

      int getMaxAllowedPacket()
    • getRetainStatementAfterResultSetClose

      boolean getRetainStatementAfterResultSetClose()
    • getLoadBalancePingTimeout

      int getLoadBalancePingTimeout()
    • setLoadBalancePingTimeout

      void setLoadBalancePingTimeout(int loadBalancePingTimeout) throws SQLException
      Throws:
      SQLException
    • getLoadBalanceValidateConnectionOnSwapServer

      boolean getLoadBalanceValidateConnectionOnSwapServer()
    • setLoadBalanceValidateConnectionOnSwapServer

      void setLoadBalanceValidateConnectionOnSwapServer(boolean loadBalanceValidateConnectionOnSwapServer)
    • getLoadBalanceConnectionGroup

      String getLoadBalanceConnectionGroup()
    • setLoadBalanceConnectionGroup

      void setLoadBalanceConnectionGroup(String loadBalanceConnectionGroup)
    • getLoadBalanceExceptionChecker

      String getLoadBalanceExceptionChecker()
    • setLoadBalanceExceptionChecker

      void setLoadBalanceExceptionChecker(String loadBalanceExceptionChecker)
    • getLoadBalanceSQLStateFailover

      String getLoadBalanceSQLStateFailover()
    • setLoadBalanceSQLStateFailover

      void setLoadBalanceSQLStateFailover(String loadBalanceSQLStateFailover)
    • getLoadBalanceSQLExceptionSubclassFailover

      String getLoadBalanceSQLExceptionSubclassFailover()
    • setLoadBalanceSQLExceptionSubclassFailover

      void setLoadBalanceSQLExceptionSubclassFailover(String loadBalanceSQLExceptionSubclassFailover)
    • getLoadBalanceEnableJMX

      boolean getLoadBalanceEnableJMX()
    • setLoadBalanceEnableJMX

      void setLoadBalanceEnableJMX(boolean loadBalanceEnableJMX)
    • setLoadBalanceHostRemovalGracePeriod

      void setLoadBalanceHostRemovalGracePeriod(int loadBalanceHostRemovalGracePeriod) throws SQLException
      Throws:
      SQLException
    • getLoadBalanceHostRemovalGracePeriod

      int getLoadBalanceHostRemovalGracePeriod()
    • setLoadBalanceAutoCommitStatementThreshold

      void setLoadBalanceAutoCommitStatementThreshold(int loadBalanceAutoCommitStatementThreshold) throws SQLException
      Throws:
      SQLException
    • getLoadBalanceAutoCommitStatementThreshold

      int getLoadBalanceAutoCommitStatementThreshold()
    • setLoadBalanceAutoCommitStatementRegex

      void setLoadBalanceAutoCommitStatementRegex(String loadBalanceAutoCommitStatementRegex)
    • getLoadBalanceAutoCommitStatementRegex

      String getLoadBalanceAutoCommitStatementRegex()
    • setAuthenticationPlugins

      void setAuthenticationPlugins(String authenticationPlugins)
    • getAuthenticationPlugins

      String getAuthenticationPlugins()
    • setDisabledAuthenticationPlugins

      void setDisabledAuthenticationPlugins(String disabledAuthenticationPlugins)
    • getDisabledAuthenticationPlugins

      String getDisabledAuthenticationPlugins()
    • setDefaultAuthenticationPlugin

      void setDefaultAuthenticationPlugin(String defaultAuthenticationPlugin)
    • getDefaultAuthenticationPlugin

      String getDefaultAuthenticationPlugin()
    • setParseInfoCacheFactory

      void setParseInfoCacheFactory(String factoryClassname)
    • getParseInfoCacheFactory

      String getParseInfoCacheFactory()
    • setServerConfigCacheFactory

      void setServerConfigCacheFactory(String factoryClassname)
    • getServerConfigCacheFactory

      String getServerConfigCacheFactory()
    • setDisconnectOnExpiredPasswords

      void setDisconnectOnExpiredPasswords(boolean disconnectOnExpiredPasswords)
    • getDisconnectOnExpiredPasswords

      boolean getDisconnectOnExpiredPasswords()
    • getAllowMasterDownConnections

      boolean getAllowMasterDownConnections()
    • setAllowMasterDownConnections

      void setAllowMasterDownConnections(boolean connectIfMasterDown)
    • getAllowSlaveDownConnections

      boolean getAllowSlaveDownConnections()
    • setAllowSlaveDownConnections

      void setAllowSlaveDownConnections(boolean connectIfSlaveDown)
    • getReadFromMasterWhenNoSlaves

      boolean getReadFromMasterWhenNoSlaves()
    • setReadFromMasterWhenNoSlaves

      void setReadFromMasterWhenNoSlaves(boolean useMasterIfSlavesDown)
    • getReplicationEnableJMX

      boolean getReplicationEnableJMX()
    • setReplicationEnableJMX

      void setReplicationEnableJMX(boolean replicationEnableJMX)
    • setGetProceduresReturnsFunctions

      void setGetProceduresReturnsFunctions(boolean getProcedureReturnsFunctions)
    • getGetProceduresReturnsFunctions

      boolean getGetProceduresReturnsFunctions()
    • setDetectCustomCollations

      void setDetectCustomCollations(boolean detectCustomCollations)
    • getDetectCustomCollations

      boolean getDetectCustomCollations()
    • getConnectionAttributes

      String getConnectionAttributes() throws SQLException
      Throws:
      SQLException
    • getServerRSAPublicKeyFile

      String getServerRSAPublicKeyFile()
    • setServerRSAPublicKeyFile

      void setServerRSAPublicKeyFile(String serverRSAPublicKeyFile) throws SQLException
      Throws:
      SQLException
    • getAllowPublicKeyRetrieval

      boolean getAllowPublicKeyRetrieval()
    • setAllowPublicKeyRetrieval

      void setAllowPublicKeyRetrieval(boolean allowPublicKeyRetrieval) throws SQLException
      Throws:
      SQLException
    • setDontCheckOnDuplicateKeyUpdateInSQL

      void setDontCheckOnDuplicateKeyUpdateInSQL(boolean dontCheckOnDuplicateKeyUpdateInSQL)
    • getDontCheckOnDuplicateKeyUpdateInSQL

      boolean getDontCheckOnDuplicateKeyUpdateInSQL()
    • setSocksProxyHost

      void setSocksProxyHost(String socksProxyHost)
    • getSocksProxyHost

      String getSocksProxyHost()
    • setSocksProxyPort

      void setSocksProxyPort(int socksProxyPort) throws SQLException
      Throws:
      SQLException
    • getSocksProxyPort

      int getSocksProxyPort()
    • getReadOnlyPropagatesToServer

      boolean getReadOnlyPropagatesToServer()
    • setReadOnlyPropagatesToServer

      void setReadOnlyPropagatesToServer(boolean flag)
    • getEnabledSSLCipherSuites

      String getEnabledSSLCipherSuites()
    • setEnabledSSLCipherSuites

      void setEnabledSSLCipherSuites(String cipherSuites)
    • getEnabledTLSProtocols

      String getEnabledTLSProtocols()
    • setEnabledTLSProtocols

      void setEnabledTLSProtocols(String protocols)
    • getEnableEscapeProcessing

      boolean getEnableEscapeProcessing()
    • setEnableEscapeProcessing

      void setEnableEscapeProcessing(boolean flag)