|
MySQL Connector/J size='-1'>5.1.6 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.mysql.jdbc.ConnectionPropertiesImpl
public class ConnectionPropertiesImpl
Represents configurable properties for Connections and DataSources. Can also expose properties as JDBC DriverPropertyInfo if required as well.
| Nested Class Summary | |
|---|---|
class |
ConnectionPropertiesImpl.LongConnectionProperty
|
| Field Summary | |
|---|---|
protected com.mysql.jdbc.ConnectionPropertiesImpl.MemorySizeConnectionProperty |
largeRowSizeThreshold
|
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 Summary | |
|---|---|
ConnectionPropertiesImpl()
|
|
| Method Summary | |
|---|---|
protected static java.sql.DriverPropertyInfo[] |
exposeAsDriverPropertyInfo(java.util.Properties info,
int slotsToReserve)
Exposes all ConnectionPropertyInfo instances as DriverPropertyInfo |
protected java.sql.DriverPropertyInfo[] |
exposeAsDriverPropertyInfoInternal(java.util.Properties info,
int slotsToReserve)
|
protected java.util.Properties |
exposeAsProperties(java.util.Properties info)
|
java.lang.String |
exposeAsXml()
Returns a description of the connection properties as an XML document. |
boolean |
getAllowLoadLocalInfile()
DOCUMENT ME! |
boolean |
getAllowMultiQueries()
DOCUMENT ME! |
boolean |
getAllowNanAndInf()
|
boolean |
getAllowUrlInLocalInfile()
|
boolean |
getAlwaysSendSetIsolation()
|
boolean |
getAutoClosePStmtStreams()
|
boolean |
getAutoDeserialize()
|
boolean |
getAutoGenerateTestcaseScript()
|
boolean |
getAutoReconnectForPools()
DOCUMENT ME! |
boolean |
getAutoSlowLog()
|
boolean |
getBlobsAreStrings()
|
int |
getBlobSendChunkSize()
|
boolean |
getCacheCallableStatements()
DOCUMENT ME! |
boolean |
getCacheCallableStmts()
|
boolean |
getCachePreparedStatements()
DOCUMENT ME! |
boolean |
getCachePrepStmts()
|
boolean |
getCacheResultSetMetadata()
DOCUMENT ME! |
boolean |
getCacheServerConfiguration()
|
int |
getCallableStatementCacheSize()
DOCUMENT ME! |
int |
getCallableStmtCacheSize()
|
boolean |
getCapitalizeTypeNames()
DOCUMENT ME! |
java.lang.String |
getCharacterSetResults()
DOCUMENT ME! |
java.lang.String |
getClientCertificateKeyStorePassword()
|
java.lang.String |
getClientCertificateKeyStoreType()
|
java.lang.String |
getClientCertificateKeyStoreUrl()
|
java.lang.String |
getClientInfoProvider()
|
boolean |
getClobberStreamingResults()
DOCUMENT ME! |
java.lang.String |
getClobCharacterEncoding()
|
java.lang.String |
getConnectionCollation()
DOCUMENT ME! |
java.lang.String |
getConnectionLifecycleInterceptors()
|
int |
getConnectTimeout()
DOCUMENT ME! |
boolean |
getContinueBatchOnError()
DOCUMENT ME! |
boolean |
getCreateDatabaseIfNotExist()
|
int |
getDefaultFetchSize()
|
boolean |
getDontTrackOpenResources()
|
boolean |
getDumpMetadataOnColumnNotFound()
|
boolean |
getDumpQueriesOnException()
DOCUMENT ME! |
boolean |
getDynamicCalendars()
|
boolean |
getElideSetAutoCommits()
DOCUMENT ME! |
boolean |
getEmptyStringsConvertToZero()
|
boolean |
getEmulateLocators()
DOCUMENT ME! |
boolean |
getEmulateUnsupportedPstmts()
|
boolean |
getEnablePacketDebug()
DOCUMENT ME! |
boolean |
getEnableQueryTimeouts()
|
java.lang.String |
getEncoding()
DOCUMENT ME! |
boolean |
getExplainSlowQueries()
DOCUMENT ME! |
boolean |
getFailOverReadOnly()
DOCUMENT ME! |
boolean |
getFunctionsNeverReturnBlobs()
|
boolean |
getGatherPerfMetrics()
|
boolean |
getGatherPerformanceMetrics()
DOCUMENT ME! |
boolean |
getGenerateSimpleParameterMetadata()
|
protected boolean |
getHighAvailability()
DOCUMENT ME! |
boolean |
getHoldResultsOpenOverStatementClose()
|
boolean |
getIgnoreNonTxTables()
DOCUMENT ME! |
boolean |
getIncludeInnodbStatusInDeadlockExceptions()
|
int |
getInitialTimeout()
DOCUMENT ME! |
boolean |
getInteractiveClient()
DOCUMENT ME! |
boolean |
getIsInteractiveClient()
DOCUMENT ME! |
boolean |
getJdbcCompliantTruncation()
DOCUMENT ME! |
boolean |
getJdbcCompliantTruncationForReads()
|
java.lang.String |
getLargeRowSizeThreshold()
|
java.lang.String |
getLoadBalanceStrategy()
|
java.lang.String |
getLocalSocketAddress()
|
int |
getLocatorFetchBufferSize()
|
java.lang.String |
getLogger()
DOCUMENT ME! |
java.lang.String |
getLoggerClassName()
DOCUMENT ME! |
boolean |
getLogSlowQueries()
DOCUMENT ME! |
boolean |
getLogXaCommands()
|
boolean |
getMaintainTimeStats()
|
int |
getMaxQuerySizeToLog()
DOCUMENT ME! |
int |
getMaxReconnects()
DOCUMENT ME! |
int |
getMaxRows()
DOCUMENT ME! |
int |
getMetadataCacheSize()
Returns the number of queries that metadata can be cached if caching is enabled. |
int |
getNetTimeoutForStreamingResults()
|
boolean |
getNoAccessToProcedureBodies()
|
boolean |
getNoDatetimeStringSync()
|
boolean |
getNoTimezoneConversionForTimeType()
|
boolean |
getNullCatalogMeansCurrent()
|
boolean |
getNullNamePatternMatchesAll()
|
boolean |
getOverrideSupportsIntegrityEnhancementFacility()
|
int |
getPacketDebugBufferSize()
DOCUMENT ME! |
boolean |
getPadCharsWithSpace()
|
boolean |
getParanoid()
DOCUMENT ME! |
boolean |
getPedantic()
DOCUMENT ME! |
boolean |
getPinGlobalTxToPhysicalConnection()
|
boolean |
getPopulateInsertRowWithDefaultValues()
|
int |
getPreparedStatementCacheSize()
DOCUMENT ME! |
int |
getPreparedStatementCacheSqlLimit()
DOCUMENT ME! |
int |
getPrepStmtCacheSize()
|
int |
getPrepStmtCacheSqlLimit()
|
boolean |
getProcessEscapeCodesForPrepStmts()
|
java.lang.String |
getProfilerEventHandler()
|
boolean |
getProfileSql()
DOCUMENT ME! |
boolean |
getProfileSQL()
DOCUMENT ME! |
java.lang.String |
getPropertiesTransform()
|
int |
getQueriesBeforeRetryMaster()
DOCUMENT ME! |
boolean |
getReconnectAtTxEnd()
DOCUMENT ME! |
boolean |
getRelaxAutoCommit()
DOCUMENT ME! |
int |
getReportMetricsIntervalMillis()
DOCUMENT ME! |
boolean |
getRequireSSL()
DOCUMENT ME! |
java.lang.String |
getResourceId()
|
int |
getResultSetSizeThreshold()
|
protected boolean |
getRetainStatementAfterResultSetClose()
|
boolean |
getRewriteBatchedStatements()
|
boolean |
getRollbackOnPooledClose()
|
boolean |
getRoundRobinLoadBalance()
Returns whether or not hosts will be picked in a round-robin fashion. |
boolean |
getRunningCTS13()
|
int |
getSecondsBeforeRetryMaster()
DOCUMENT ME! |
int |
getSelfDestructOnPingMaxOperations()
|
int |
getSelfDestructOnPingSecondsLifetime()
|
java.lang.String |
getServerTimezone()
Returns the 'serverTimezone' property. |
java.lang.String |
getSessionVariables()
|
int |
getSlowQueryThresholdMillis()
DOCUMENT ME! |
long |
getSlowQueryThresholdNanos()
|
java.lang.String |
getSocketFactory()
|
java.lang.String |
getSocketFactoryClassName()
DOCUMENT ME! |
int |
getSocketTimeout()
DOCUMENT ME! |
java.lang.String |
getStatementInterceptors()
|
boolean |
getStrictFloatingPoint()
DOCUMENT ME! |
boolean |
getStrictUpdates()
DOCUMENT ME! |
boolean |
getTcpKeepAlive()
|
boolean |
getTcpNoDelay()
|
int |
getTcpRcvBuf()
|
int |
getTcpSndBuf()
|
int |
getTcpTrafficClass()
|
boolean |
getTinyInt1isBit()
|
boolean |
getTraceProtocol()
DOCUMENT ME! |
boolean |
getTransformedBitIsBoolean()
|
boolean |
getTreatUtilDateAsTimestamp()
|
java.lang.String |
getTrustCertificateKeyStorePassword()
|
java.lang.String |
getTrustCertificateKeyStoreType()
|
java.lang.String |
getTrustCertificateKeyStoreUrl()
|
boolean |
getUltraDevHack()
|
boolean |
getUseBlobToStoreUTF8OutsideBMP()
|
boolean |
getUseCompression()
DOCUMENT ME! |
java.lang.String |
getUseConfigs()
|
boolean |
getUseCursorFetch()
|
boolean |
getUseDirectRowUnpack()
|
boolean |
getUseDynamicCharsetInfo()
|
boolean |
getUseFastDateParsing()
|
boolean |
getUseFastIntParsing()
|
boolean |
getUseGmtMillisForDatetimes()
|
boolean |
getUseHostsInPrivileges()
DOCUMENT ME! |
boolean |
getUseInformationSchema()
|
boolean |
getUseJDBCCompliantTimezoneShift()
|
boolean |
getUseJvmCharsetConverters()
|
boolean |
getUseLegacyDatetimeCode()
|
boolean |
getUseLocalSessionState()
|
boolean |
getUseNanosForElapsedTime()
|
boolean |
getUseOldAliasMetadataBehavior()
|
boolean |
getUseOldUTF8Behavior()
|
boolean |
getUseOnlyServerErrorMessages()
|
boolean |
getUseReadAheadInput()
|
boolean |
getUseServerPreparedStmts()
DOCUMENT ME! |
boolean |
getUseServerPrepStmts()
|
boolean |
getUseSqlStateCodes()
DOCUMENT ME! |
boolean |
getUseSSL()
DOCUMENT ME! |
boolean |
getUseSSPSCompatibleTimezoneShift()
|
boolean |
getUseStreamLengthsInPrepStmts()
DOCUMENT ME! |
boolean |
getUseTimezone()
DOCUMENT ME! |
boolean |
getUseUltraDevWorkAround()
DOCUMENT ME! |
boolean |
getUseUnbufferedInput()
DOCUMENT ME! |
boolean |
getUseUnicode()
DOCUMENT ME! |
boolean |
getUseUsageAdvisor()
Returns whether or not the driver advises of proper usage. |
java.lang.String |
getUtf8OutsideBmpExcludedColumnNamePattern()
|
java.lang.String |
getUtf8OutsideBmpIncludedColumnNamePattern()
|
boolean |
getVerifyServerCertificate()
|
boolean |
getYearIsDateType()
|
java.lang.String |
getZeroDateTimeBehavior()
|
protected void |
initializeFromRef(javax.naming.Reference ref)
Initializes driver properties that come from a JNDI reference (in the case of a javax.sql.DataSource bound into some name service that doesn't handle Java objects directly). |
protected void |
initializeProperties(java.util.Properties info)
Initializes driver properties that come from URL or properties passed to the driver manager. |
protected void |
postInitialization()
|
void |
setAllowLoadLocalInfile(boolean property)
DOCUMENT ME! |
void |
setAllowMultiQueries(boolean property)
DOCUMENT ME! |
void |
setAllowNanAndInf(boolean flag)
|
void |
setAllowUrlInLocalInfile(boolean flag)
|
void |
setAlwaysSendSetIsolation(boolean flag)
|
void |
setAutoClosePStmtStreams(boolean flag)
|
void |
setAutoDeserialize(boolean flag)
|
void |
setAutoGenerateTestcaseScript(boolean flag)
|
void |
setAutoReconnect(boolean flag)
DOCUMENT ME! |
void |
setAutoReconnectForConnectionPools(boolean property)
DOCUMENT ME! |
void |
setAutoReconnectForPools(boolean flag)
DOCUMENT ME! |
void |
setAutoSlowLog(boolean flag)
|
void |
setBlobsAreStrings(boolean flag)
|
void |
setBlobSendChunkSize(java.lang.String value)
|
void |
setCacheCallableStatements(boolean flag)
DOCUMENT ME! |
void |
setCacheCallableStmts(boolean flag)
|
void |
setCachePreparedStatements(boolean flag)
DOCUMENT ME! |
void |
setCachePrepStmts(boolean flag)
|
void |
setCacheResultSetMetadata(boolean property)
Sets whether or not we should cache result set metadata. |
void |
setCacheServerConfiguration(boolean flag)
|
void |
setCallableStatementCacheSize(int size)
Configures the number of callable statements to cache. |
void |
setCallableStmtCacheSize(int cacheSize)
|
void |
setCapitalizeDBMDTypes(boolean property)
DOCUMENT ME! |
void |
setCapitalizeTypeNames(boolean flag)
DOCUMENT ME! |
void |
setCharacterEncoding(java.lang.String encoding)
DOCUMENT ME! |
void |
setCharacterSetResults(java.lang.String characterSet)
DOCUMENT ME! |
void |
setClientCertificateKeyStorePassword(java.lang.String value)
|
void |
setClientCertificateKeyStoreType(java.lang.String value)
|
void |
setClientCertificateKeyStoreUrl(java.lang.String value)
|
void |
setClientInfoProvider(java.lang.String classname)
|
void |
setClobberStreamingResults(boolean flag)
DOCUMENT ME! |
void |
setClobCharacterEncoding(java.lang.String encoding)
|
void |
setConnectionCollation(java.lang.String collation)
DOCUMENT ME! |
void |
setConnectionLifecycleInterceptors(java.lang.String interceptors)
|
void |
setConnectTimeout(int timeoutMs)
DOCUMENT ME! |
void |
setContinueBatchOnError(boolean property)
DOCUMENT ME! |
void |
setCreateDatabaseIfNotExist(boolean flag)
|
void |
setDefaultFetchSize(int n)
|
void |
setDetectServerPreparedStmts(boolean property)
DOCUMENT ME! |
void |
setDontTrackOpenResources(boolean flag)
|
void |
setDumpMetadataOnColumnNotFound(boolean flag)
|
void |
setDumpQueriesOnException(boolean flag)
DOCUMENT ME! |
void |
setDynamicCalendars(boolean flag)
|
void |
setElideSetAutoCommits(boolean flag)
DOCUMENT ME! |
void |
setEmptyStringsConvertToZero(boolean flag)
|
void |
setEmulateLocators(boolean property)
DOCUMENT ME! |
void |
setEmulateUnsupportedPstmts(boolean flag)
|
void |
setEnablePacketDebug(boolean flag)
DOCUMENT ME! |
void |
setEnableQueryTimeouts(boolean flag)
|
void |
setEncoding(java.lang.String property)
DOCUMENT ME! |
void |
setExplainSlowQueries(boolean flag)
DOCUMENT ME! |
void |
setFailOverReadOnly(boolean flag)
DOCUMENT ME! |
void |
setFunctionsNeverReturnBlobs(boolean flag)
|
void |
setGatherPerfMetrics(boolean flag)
|
void |
setGatherPerformanceMetrics(boolean flag)
DOCUMENT ME! |
void |
setGenerateSimpleParameterMetadata(boolean flag)
|
protected void |
setHighAvailability(boolean property)
DOCUMENT ME! |
void |
setHoldResultsOpenOverStatementClose(boolean flag)
|
void |
setIgnoreNonTxTables(boolean property)
DOCUMENT ME! |
void |
setIncludeInnodbStatusInDeadlockExceptions(boolean flag)
|
void |
setInitialTimeout(int property)
DOCUMENT ME! |
void |
setInteractiveClient(boolean property)
|
void |
setIsInteractiveClient(boolean property)
DOCUMENT ME! |
void |
setJdbcCompliantTruncation(boolean flag)
DOCUMENT ME! |
void |
setJdbcCompliantTruncationForReads(boolean jdbcCompliantTruncationForReads)
|
void |
setLargeRowSizeThreshold(java.lang.String value)
|
void |
setLoadBalanceStrategy(java.lang.String strategy)
|
void |
setLocalSocketAddress(java.lang.String address)
|
void |
setLocatorFetchBufferSize(java.lang.String value)
|
void |
setLogger(java.lang.String property)
DOCUMENT ME! |
void |
setLoggerClassName(java.lang.String className)
DOCUMENT ME! |
void |
setLogSlowQueries(boolean flag)
DOCUMENT ME! |
void |
setLogXaCommands(boolean flag)
|
void |
setMaintainTimeStats(boolean flag)
|
void |
setMaxQuerySizeToLog(int sizeInBytes)
DOCUMENT ME! |
void |
setMaxReconnects(int property)
DOCUMENT ME! |
void |
setMaxRows(int property)
DOCUMENT ME! |
void |
setMetadataCacheSize(int value)
Sets the number of queries that metadata can be cached if caching is enabled. |
void |
setNetTimeoutForStreamingResults(int value)
|
void |
setNoAccessToProcedureBodies(boolean flag)
|
void |
setNoDatetimeStringSync(boolean flag)
|
void |
setNoTimezoneConversionForTimeType(boolean flag)
|
void |
setNullCatalogMeansCurrent(boolean value)
|
void |
setNullNamePatternMatchesAll(boolean value)
|
void |
setOverrideSupportsIntegrityEnhancementFacility(boolean flag)
|
void |
setPacketDebugBufferSize(int size)
DOCUMENT ME! |
void |
setPadCharsWithSpace(boolean flag)
|
void |
setParanoid(boolean property)
DOCUMENT ME! |
void |
setPedantic(boolean property)
DOCUMENT ME! |
void |
setPinGlobalTxToPhysicalConnection(boolean flag)
|
void |
setPopulateInsertRowWithDefaultValues(boolean flag)
|
void |
setPreparedStatementCacheSize(int cacheSize)
DOCUMENT ME! |
void |
setPreparedStatementCacheSqlLimit(int cacheSqlLimit)
DOCUMENT ME! |
void |
setPrepStmtCacheSize(int cacheSize)
|
void |
setPrepStmtCacheSqlLimit(int sqlLimit)
|
void |
setProcessEscapeCodesForPrepStmts(boolean flag)
|
void |
setProfilerEventHandler(java.lang.String handler)
|
void |
setProfileSql(boolean property)
DOCUMENT ME! |
void |
setProfileSQL(boolean flag)
DOCUMENT ME! |
void |
setPropertiesTransform(java.lang.String value)
|
void |
setQueriesBeforeRetryMaster(int property)
DOCUMENT ME! |
void |
setReconnectAtTxEnd(boolean property)
DOCUMENT ME! |
void |
setRelaxAutoCommit(boolean property)
DOCUMENT ME! |
void |
setReportMetricsIntervalMillis(int millis)
DOCUMENT ME! |
void |
setRequireSSL(boolean property)
DOCUMENT ME! |
void |
setResourceId(java.lang.String resourceId)
|
void |
setResultSetSizeThreshold(int threshold)
|
void |
setRetainStatementAfterResultSetClose(boolean flag)
|
void |
setRewriteBatchedStatements(boolean flag)
|
void |
setRollbackOnPooledClose(boolean flag)
|
void |
setRoundRobinLoadBalance(boolean flag)
Sets whether or not hosts will be picked in a round-robin fashion. |
void |
setRunningCTS13(boolean flag)
|
void |
setSecondsBeforeRetryMaster(int property)
DOCUMENT ME! |
void |
setSelfDestructOnPingMaxOperations(int maxOperations)
|
void |
setSelfDestructOnPingSecondsLifetime(int seconds)
|
void |
setServerTimezone(java.lang.String property)
DOCUMENT ME! |
void |
setSessionVariables(java.lang.String variables)
|
void |
setSlowQueryThresholdMillis(int millis)
DOCUMENT ME! |
void |
setSlowQueryThresholdNanos(long nanos)
|
void |
setSocketFactory(java.lang.String name)
|
void |
setSocketFactoryClassName(java.lang.String property)
DOCUMENT ME! |
void |
setSocketTimeout(int property)
DOCUMENT ME! |
void |
setStatementInterceptors(java.lang.String value)
|
void |
setStrictFloatingPoint(boolean property)
DOCUMENT ME! |
void |
setStrictUpdates(boolean property)
DOCUMENT ME! |
void |
setTcpKeepAlive(boolean flag)
|
void |
setTcpNoDelay(boolean flag)
|
void |
setTcpRcvBuf(int bufSize)
|
void |
setTcpSndBuf(int bufSize)
|
void |
setTcpTrafficClass(int classFlags)
|
void |
setTinyInt1isBit(boolean flag)
|
void |
setTraceProtocol(boolean flag)
DOCUMENT ME! |
void |
setTransformedBitIsBoolean(boolean flag)
|
void |
setTreatUtilDateAsTimestamp(boolean flag)
|
void |
setTrustCertificateKeyStorePassword(java.lang.String value)
|
void |
setTrustCertificateKeyStoreType(java.lang.String value)
|
void |
setTrustCertificateKeyStoreUrl(java.lang.String value)
|
void |
setUltraDevHack(boolean flag)
|
void |
setUseBlobToStoreUTF8OutsideBMP(boolean flag)
|
void |
setUseCompression(boolean property)
DOCUMENT ME! |
void |
setUseConfigs(java.lang.String configs)
|
void |
setUseCursorFetch(boolean flag)
|
void |
setUseDirectRowUnpack(boolean flag)
|
void |
setUseDynamicCharsetInfo(boolean flag)
|
void |
setUseFastDateParsing(boolean flag)
|
void |
setUseFastIntParsing(boolean flag)
|
void |
setUseGmtMillisForDatetimes(boolean flag)
|
void |
setUseHostsInPrivileges(boolean property)
DOCUMENT ME! |
void |
setUseInformationSchema(boolean flag)
|
void |
setUseJDBCCompliantTimezoneShift(boolean flag)
|
void |
setUseJvmCharsetConverters(boolean flag)
|
void |
setUseLegacyDatetimeCode(boolean flag)
|
void |
setUseLocalSessionState(boolean flag)
|
void |
setUseNanosForElapsedTime(boolean flag)
|
void |
setUseOldAliasMetadataBehavior(boolean flag)
|
void |
setUseOldUTF8Behavior(boolean flag)
|
void |
setUseOnlyServerErrorMessages(boolean flag)
|
void |
setUseReadAheadInput(boolean flag)
|
void |
setUseServerPreparedStmts(boolean flag)
DOCUMENT ME! |
void |
setUseServerPrepStmts(boolean flag)
|
void |
setUseSqlStateCodes(boolean flag)
DOCUMENT ME! |
void |
setUseSSL(boolean property)
DOCUMENT ME! |
void |
setUseSSPSCompatibleTimezoneShift(boolean flag)
|
void |
setUseStreamLengthsInPrepStmts(boolean property)
DOCUMENT ME! |
void |
setUseTimezone(boolean property)
DOCUMENT ME! |
void |
setUseUltraDevWorkAround(boolean property)
DOCUMENT ME! |
void |
setUseUnbufferedInput(boolean flag)
DOCUMENT ME! |
void |
setUseUnicode(boolean flag)
DOCUMENT ME! |
void |
setUseUsageAdvisor(boolean useUsageAdvisorFlag)
Sets whether or not the driver advises of proper usage. |
void |
setUtf8OutsideBmpExcludedColumnNamePattern(java.lang.String regexPattern)
|
void |
setUtf8OutsideBmpIncludedColumnNamePattern(java.lang.String regexPattern)
|
void |
setVerifyServerCertificate(boolean flag)
|
void |
setYearIsDateType(boolean flag)
|
void |
setZeroDateTimeBehavior(java.lang.String behavior)
|
protected void |
storeToRef(javax.naming.Reference ref)
|
boolean |
useUnbufferedInput()
DOCUMENT ME! |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
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 com.mysql.jdbc.ConnectionPropertiesImpl.MemorySizeConnectionProperty largeRowSizeThreshold
| Constructor Detail |
|---|
public ConnectionPropertiesImpl()
| Method Detail |
|---|
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 occurs
protected 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 ConnectionPropertiesjava.sql.SQLException - if an error occurs.public boolean getAllowLoadLocalInfile()
ConnectionProperties
getAllowLoadLocalInfile in interface ConnectionPropertiespublic boolean getAllowMultiQueries()
ConnectionProperties
getAllowMultiQueries in interface ConnectionPropertiespublic boolean getAllowNanAndInf()
getAllowNanAndInf in interface ConnectionPropertiespublic boolean getAllowUrlInLocalInfile()
getAllowUrlInLocalInfile in interface ConnectionPropertiespublic boolean getAlwaysSendSetIsolation()
getAlwaysSendSetIsolation in interface ConnectionPropertiespublic boolean getAutoDeserialize()
getAutoDeserialize in interface ConnectionPropertiespublic boolean getAutoGenerateTestcaseScript()
getAutoGenerateTestcaseScript in interface ConnectionPropertiespublic boolean getAutoReconnectForPools()
ConnectionProperties
getAutoReconnectForPools in interface ConnectionPropertiespublic int getBlobSendChunkSize()
getBlobSendChunkSize in interface ConnectionPropertiespublic boolean getCacheCallableStatements()
ConnectionProperties
getCacheCallableStatements in interface ConnectionPropertiespublic boolean getCachePreparedStatements()
ConnectionProperties
getCachePreparedStatements in interface ConnectionPropertiespublic boolean getCacheResultSetMetadata()
ConnectionProperties
getCacheResultSetMetadata in interface ConnectionPropertiespublic boolean getCacheServerConfiguration()
getCacheServerConfiguration in interface ConnectionPropertiespublic int getCallableStatementCacheSize()
ConnectionProperties
getCallableStatementCacheSize in interface ConnectionPropertiespublic boolean getCapitalizeTypeNames()
ConnectionProperties
getCapitalizeTypeNames in interface ConnectionPropertiespublic java.lang.String getCharacterSetResults()
ConnectionProperties
getCharacterSetResults in interface ConnectionPropertiespublic boolean getClobberStreamingResults()
ConnectionProperties
getClobberStreamingResults in interface ConnectionPropertiespublic java.lang.String getClobCharacterEncoding()
getClobCharacterEncoding in interface ConnectionPropertiespublic java.lang.String getConnectionCollation()
ConnectionProperties
getConnectionCollation in interface ConnectionPropertiespublic int getConnectTimeout()
ConnectionProperties
getConnectTimeout in interface ConnectionPropertiespublic boolean getContinueBatchOnError()
ConnectionProperties
getContinueBatchOnError in interface ConnectionPropertiespublic boolean getCreateDatabaseIfNotExist()
getCreateDatabaseIfNotExist in interface ConnectionPropertiespublic int getDefaultFetchSize()
getDefaultFetchSize in interface ConnectionPropertiespublic boolean getDontTrackOpenResources()
getDontTrackOpenResources in interface ConnectionPropertiespublic boolean getDumpQueriesOnException()
ConnectionProperties
getDumpQueriesOnException in interface ConnectionPropertiespublic boolean getDynamicCalendars()
getDynamicCalendars in interface ConnectionPropertiespublic boolean getElideSetAutoCommits()
ConnectionProperties
getElideSetAutoCommits in interface ConnectionPropertiespublic boolean getEmptyStringsConvertToZero()
getEmptyStringsConvertToZero in interface ConnectionPropertiespublic boolean getEmulateLocators()
ConnectionProperties
getEmulateLocators in interface ConnectionPropertiespublic boolean getEmulateUnsupportedPstmts()
getEmulateUnsupportedPstmts in interface ConnectionPropertiespublic boolean getEnablePacketDebug()
ConnectionProperties
getEnablePacketDebug in interface ConnectionPropertiespublic java.lang.String getEncoding()
ConnectionProperties
getEncoding in interface ConnectionPropertiespublic boolean getExplainSlowQueries()
ConnectionProperties
getExplainSlowQueries in interface ConnectionPropertiespublic boolean getFailOverReadOnly()
ConnectionProperties
getFailOverReadOnly in interface ConnectionPropertiespublic boolean getGatherPerformanceMetrics()
ConnectionProperties
getGatherPerformanceMetrics in interface ConnectionPropertiesprotected boolean getHighAvailability()
public boolean getHoldResultsOpenOverStatementClose()
getHoldResultsOpenOverStatementClose in interface ConnectionPropertiespublic boolean getIgnoreNonTxTables()
ConnectionProperties
getIgnoreNonTxTables in interface ConnectionPropertiespublic int getInitialTimeout()
ConnectionProperties
getInitialTimeout in interface ConnectionPropertiespublic boolean getInteractiveClient()
ConnectionProperties
getInteractiveClient in interface ConnectionPropertiespublic boolean getIsInteractiveClient()
ConnectionProperties
getIsInteractiveClient in interface ConnectionPropertiespublic boolean getJdbcCompliantTruncation()
ConnectionProperties
getJdbcCompliantTruncation in interface ConnectionPropertiespublic int getLocatorFetchBufferSize()
getLocatorFetchBufferSize in interface ConnectionPropertiespublic java.lang.String getLogger()
ConnectionProperties
getLogger in interface ConnectionPropertiespublic java.lang.String getLoggerClassName()
ConnectionProperties
getLoggerClassName in interface ConnectionPropertiespublic boolean getLogSlowQueries()
ConnectionProperties
getLogSlowQueries in interface ConnectionPropertiespublic boolean getMaintainTimeStats()
getMaintainTimeStats in interface ConnectionPropertiespublic int getMaxQuerySizeToLog()
ConnectionProperties
getMaxQuerySizeToLog in interface ConnectionPropertiespublic int getMaxReconnects()
ConnectionProperties
getMaxReconnects in interface ConnectionPropertiespublic int getMaxRows()
ConnectionProperties
getMaxRows in interface ConnectionPropertiespublic int getMetadataCacheSize()
ConnectionProperties
getMetadataCacheSize in interface ConnectionPropertiespublic boolean getNoDatetimeStringSync()
getNoDatetimeStringSync in interface ConnectionPropertiespublic boolean getNullCatalogMeansCurrent()
getNullCatalogMeansCurrent in interface ConnectionPropertiespublic boolean getNullNamePatternMatchesAll()
getNullNamePatternMatchesAll in interface ConnectionPropertiespublic int getPacketDebugBufferSize()
ConnectionProperties
getPacketDebugBufferSize in interface ConnectionPropertiespublic boolean getParanoid()
ConnectionProperties
getParanoid in interface ConnectionPropertiespublic boolean getPedantic()
ConnectionProperties
getPedantic in interface ConnectionPropertiespublic int getPreparedStatementCacheSize()
ConnectionProperties
getPreparedStatementCacheSize in interface ConnectionPropertiespublic int getPreparedStatementCacheSqlLimit()
ConnectionProperties
getPreparedStatementCacheSqlLimit in interface ConnectionPropertiespublic boolean getProfileSql()
ConnectionProperties
getProfileSql in interface ConnectionPropertiespublic boolean getProfileSQL()
ConnectionProperties
getProfileSQL in interface ConnectionPropertiespublic java.lang.String getPropertiesTransform()
getPropertiesTransform in interface ConnectionPropertiespublic int getQueriesBeforeRetryMaster()
ConnectionProperties
getQueriesBeforeRetryMaster in interface ConnectionPropertiespublic boolean getReconnectAtTxEnd()
ConnectionProperties
getReconnectAtTxEnd in interface ConnectionPropertiespublic boolean getRelaxAutoCommit()
ConnectionProperties
getRelaxAutoCommit in interface ConnectionPropertiespublic int getReportMetricsIntervalMillis()
ConnectionProperties
getReportMetricsIntervalMillis in interface ConnectionPropertiespublic boolean getRequireSSL()
ConnectionProperties
getRequireSSL in interface ConnectionPropertiesprotected boolean getRetainStatementAfterResultSetClose()
public boolean getRollbackOnPooledClose()
getRollbackOnPooledClose in interface ConnectionPropertiespublic boolean getRoundRobinLoadBalance()
ConnectionProperties
getRoundRobinLoadBalance in interface ConnectionPropertiespublic boolean getRunningCTS13()
getRunningCTS13 in interface ConnectionPropertiespublic int getSecondsBeforeRetryMaster()
ConnectionProperties
getSecondsBeforeRetryMaster in interface ConnectionPropertiespublic java.lang.String getServerTimezone()
ConnectionProperties
getServerTimezone in interface ConnectionPropertiespublic java.lang.String getSessionVariables()
getSessionVariables in interface ConnectionPropertiespublic int getSlowQueryThresholdMillis()
ConnectionProperties
getSlowQueryThresholdMillis in interface ConnectionPropertiespublic java.lang.String getSocketFactoryClassName()
ConnectionProperties
getSocketFactoryClassName in interface ConnectionPropertiespublic int getSocketTimeout()
ConnectionProperties
getSocketTimeout in interface ConnectionPropertiespublic boolean getStrictFloatingPoint()
ConnectionProperties
getStrictFloatingPoint in interface ConnectionPropertiespublic boolean getStrictUpdates()
ConnectionProperties
getStrictUpdates in interface ConnectionPropertiespublic boolean getTinyInt1isBit()
getTinyInt1isBit in interface ConnectionPropertiespublic boolean getTraceProtocol()
ConnectionProperties
getTraceProtocol in interface ConnectionPropertiespublic boolean getTransformedBitIsBoolean()
getTransformedBitIsBoolean in interface ConnectionPropertiespublic boolean getUseCompression()
ConnectionProperties
getUseCompression in interface ConnectionPropertiespublic boolean getUseFastIntParsing()
getUseFastIntParsing in interface ConnectionPropertiespublic boolean getUseHostsInPrivileges()
ConnectionProperties
getUseHostsInPrivileges in interface ConnectionPropertiespublic boolean getUseInformationSchema()
getUseInformationSchema in interface ConnectionPropertiespublic boolean getUseLocalSessionState()
getUseLocalSessionState in interface ConnectionPropertiespublic boolean getUseOldUTF8Behavior()
getUseOldUTF8Behavior in interface ConnectionPropertiespublic boolean getUseOnlyServerErrorMessages()
getUseOnlyServerErrorMessages in interface ConnectionPropertiespublic boolean getUseReadAheadInput()
getUseReadAheadInput in interface ConnectionPropertiespublic boolean getUseServerPreparedStmts()
ConnectionProperties
getUseServerPreparedStmts in interface ConnectionPropertiespublic boolean getUseSqlStateCodes()
ConnectionProperties
getUseSqlStateCodes in interface ConnectionPropertiespublic boolean getUseSSL()
ConnectionProperties
getUseSSL in interface ConnectionPropertiespublic boolean getUseStreamLengthsInPrepStmts()
ConnectionProperties
getUseStreamLengthsInPrepStmts in interface ConnectionPropertiespublic boolean getUseTimezone()
ConnectionProperties
getUseTimezone in interface ConnectionPropertiespublic boolean getUseUltraDevWorkAround()
ConnectionProperties
getUseUltraDevWorkAround in interface ConnectionPropertiespublic boolean getUseUnbufferedInput()
ConnectionProperties
getUseUnbufferedInput in interface ConnectionPropertiespublic boolean getUseUnicode()
ConnectionProperties
getUseUnicode in interface ConnectionPropertiespublic boolean getUseUsageAdvisor()
ConnectionProperties
getUseUsageAdvisor in interface ConnectionPropertiespublic boolean getYearIsDateType()
getYearIsDateType in interface ConnectionPropertiespublic 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 properties
java.sql.SQLException - DOCUMENT ME!
protected void initializeProperties(java.util.Properties info)
throws java.sql.SQLException
info - DOCUMENT ME!
java.sql.SQLException - DOCUMENT ME!
protected void postInitialization()
throws java.sql.SQLException
java.sql.SQLExceptionpublic void setAllowLoadLocalInfile(boolean property)
ConnectionProperties
setAllowLoadLocalInfile in interface ConnectionPropertiespublic void setAllowMultiQueries(boolean property)
ConnectionProperties
setAllowMultiQueries in interface ConnectionPropertiespublic void setAllowNanAndInf(boolean flag)
setAllowNanAndInf in interface ConnectionPropertiespublic void setAllowUrlInLocalInfile(boolean flag)
setAllowUrlInLocalInfile in interface ConnectionPropertiespublic void setAlwaysSendSetIsolation(boolean flag)
setAlwaysSendSetIsolation in interface ConnectionPropertiespublic void setAutoDeserialize(boolean flag)
setAutoDeserialize in interface ConnectionPropertiespublic void setAutoGenerateTestcaseScript(boolean flag)
setAutoGenerateTestcaseScript in interface ConnectionPropertiespublic void setAutoReconnect(boolean flag)
ConnectionProperties
setAutoReconnect in interface ConnectionPropertiesflag - The autoReconnect to set.public void setAutoReconnectForConnectionPools(boolean property)
ConnectionProperties
setAutoReconnectForConnectionPools in interface ConnectionPropertiespublic void setAutoReconnectForPools(boolean flag)
ConnectionProperties
setAutoReconnectForPools in interface ConnectionPropertiesflag - The autoReconnectForPools to set.
public void setBlobSendChunkSize(java.lang.String value)
throws java.sql.SQLException
setBlobSendChunkSize in interface ConnectionPropertiesjava.sql.SQLExceptionpublic void setCacheCallableStatements(boolean flag)
ConnectionProperties
setCacheCallableStatements in interface ConnectionPropertiesflag - The cacheCallableStatements to set.public void setCachePreparedStatements(boolean flag)
ConnectionProperties
setCachePreparedStatements in interface ConnectionPropertiesflag - The cachePreparedStatements to set.public void setCacheResultSetMetadata(boolean property)
ConnectionProperties
setCacheResultSetMetadata in interface ConnectionPropertiespublic void setCacheServerConfiguration(boolean flag)
setCacheServerConfiguration in interface ConnectionPropertiespublic void setCallableStatementCacheSize(int size)
ConnectionProperties
setCallableStatementCacheSize in interface ConnectionPropertiessize - The callableStatementCacheSize to set.public void setCapitalizeDBMDTypes(boolean property)
ConnectionProperties
setCapitalizeDBMDTypes in interface ConnectionPropertiespublic void setCapitalizeTypeNames(boolean flag)
ConnectionProperties
setCapitalizeTypeNames in interface ConnectionPropertiesflag - The capitalizeTypeNames to set.public void setCharacterEncoding(java.lang.String encoding)
ConnectionProperties
setCharacterEncoding in interface ConnectionPropertiesencoding - The characterEncoding to set.public void setCharacterSetResults(java.lang.String characterSet)
ConnectionProperties
setCharacterSetResults in interface ConnectionPropertiescharacterSet - The characterSetResults to set.public void setClobberStreamingResults(boolean flag)
ConnectionProperties
setClobberStreamingResults in interface ConnectionPropertiesflag - The clobberStreamingResults to set.public void setClobCharacterEncoding(java.lang.String encoding)
setClobCharacterEncoding in interface ConnectionPropertiespublic void setConnectionCollation(java.lang.String collation)
ConnectionProperties
setConnectionCollation in interface ConnectionPropertiescollation - The connectionCollation to set.public void setConnectTimeout(int timeoutMs)
ConnectionProperties
setConnectTimeout in interface ConnectionPropertiespublic void setContinueBatchOnError(boolean property)
ConnectionProperties
setContinueBatchOnError in interface ConnectionPropertiespublic void setCreateDatabaseIfNotExist(boolean flag)
setCreateDatabaseIfNotExist in interface ConnectionPropertiespublic void setDefaultFetchSize(int n)
setDefaultFetchSize in interface ConnectionPropertiespublic void setDetectServerPreparedStmts(boolean property)
ConnectionProperties
setDetectServerPreparedStmts in interface ConnectionPropertiespublic void setDontTrackOpenResources(boolean flag)
setDontTrackOpenResources in interface ConnectionPropertiespublic void setDumpQueriesOnException(boolean flag)
ConnectionProperties
setDumpQueriesOnException in interface ConnectionPropertiesflag - The dumpQueriesOnException to set.public void setDynamicCalendars(boolean flag)
setDynamicCalendars in interface ConnectionPropertiespublic void setElideSetAutoCommits(boolean flag)
ConnectionProperties
setElideSetAutoCommits in interface ConnectionPropertiesflag - The elideSetAutoCommits to set.public void setEmptyStringsConvertToZero(boolean flag)
setEmptyStringsConvertToZero in interface ConnectionPropertiespublic void setEmulateLocators(boolean property)
ConnectionProperties
setEmulateLocators in interface ConnectionPropertiespublic void setEmulateUnsupportedPstmts(boolean flag)
setEmulateUnsupportedPstmts in interface ConnectionPropertiespublic void setEnablePacketDebug(boolean flag)
ConnectionProperties
setEnablePacketDebug in interface ConnectionPropertiesflag - The enablePacketDebug to set.public void setEncoding(java.lang.String property)
ConnectionProperties
setEncoding in interface ConnectionPropertiespublic void setExplainSlowQueries(boolean flag)
ConnectionProperties
setExplainSlowQueries in interface ConnectionPropertiesflag - The explainSlowQueries to set.public void setFailOverReadOnly(boolean flag)
ConnectionProperties
setFailOverReadOnly in interface ConnectionPropertiesflag - The failOverReadOnly to set.public void setGatherPerformanceMetrics(boolean flag)
ConnectionProperties
setGatherPerformanceMetrics in interface ConnectionPropertiesflag - The gatherPerformanceMetrics to set.protected void setHighAvailability(boolean property)
property - public void setHoldResultsOpenOverStatementClose(boolean flag)
setHoldResultsOpenOverStatementClose in interface ConnectionPropertiespublic void setIgnoreNonTxTables(boolean property)
ConnectionProperties
setIgnoreNonTxTables in interface ConnectionPropertiespublic void setInitialTimeout(int property)
ConnectionProperties
setInitialTimeout in interface ConnectionPropertiespublic void setIsInteractiveClient(boolean property)
ConnectionProperties
setIsInteractiveClient in interface ConnectionPropertiespublic void setJdbcCompliantTruncation(boolean flag)
ConnectionProperties
setJdbcCompliantTruncation in interface ConnectionPropertiesflag - The jdbcCompliantTruncation to set.
public void setLocatorFetchBufferSize(java.lang.String value)
throws java.sql.SQLException
setLocatorFetchBufferSize in interface ConnectionPropertiesjava.sql.SQLExceptionpublic void setLogger(java.lang.String property)
ConnectionProperties
setLogger in interface ConnectionPropertiespublic void setLoggerClassName(java.lang.String className)
ConnectionProperties
setLoggerClassName in interface ConnectionPropertiesclassName - The loggerClassName to set.public void setLogSlowQueries(boolean flag)
ConnectionProperties
setLogSlowQueries in interface ConnectionPropertiesflag - The logSlowQueries to set.public void setMaintainTimeStats(boolean flag)
setMaintainTimeStats in interface ConnectionPropertiespublic void setMaxQuerySizeToLog(int sizeInBytes)
ConnectionProperties
setMaxQuerySizeToLog in interface ConnectionPropertiessizeInBytes - The maxQuerySizeToLog to set.public void setMaxReconnects(int property)
ConnectionProperties
setMaxReconnects in interface ConnectionPropertiespublic void setMaxRows(int property)
ConnectionProperties
setMaxRows in interface ConnectionPropertiespublic void setMetadataCacheSize(int value)
ConnectionProperties
setMetadataCacheSize in interface ConnectionPropertiesvalue - the number of queries to cache metadata for.public void setNoDatetimeStringSync(boolean flag)
setNoDatetimeStringSync in interface ConnectionPropertiespublic void setNullCatalogMeansCurrent(boolean value)
setNullCatalogMeansCurrent in interface ConnectionPropertiespublic void setNullNamePatternMatchesAll(boolean value)
setNullNamePatternMatchesAll in interface ConnectionPropertiespublic void setPacketDebugBufferSize(int size)
ConnectionProperties
setPacketDebugBufferSize in interface ConnectionPropertiessize - The packetDebugBufferSize to set.public void setParanoid(boolean property)
ConnectionProperties
setParanoid in interface ConnectionPropertiespublic void setPedantic(boolean property)
ConnectionProperties
setPedantic in interface ConnectionPropertiespublic void setPreparedStatementCacheSize(int cacheSize)
ConnectionProperties
setPreparedStatementCacheSize in interface ConnectionPropertiescacheSize - The preparedStatementCacheSize to set.public void setPreparedStatementCacheSqlLimit(int cacheSqlLimit)
ConnectionProperties
setPreparedStatementCacheSqlLimit in interface ConnectionPropertiescacheSqlLimit - The preparedStatementCacheSqlLimit to set.public void setProfileSql(boolean property)
ConnectionProperties
setProfileSql in interface ConnectionPropertiespublic void setProfileSQL(boolean flag)
ConnectionProperties
setProfileSQL in interface ConnectionPropertiesflag - The profileSQL to set.public void setPropertiesTransform(java.lang.String value)
setPropertiesTransform in interface ConnectionPropertiespublic void setQueriesBeforeRetryMaster(int property)
ConnectionProperties
setQueriesBeforeRetryMaster in interface ConnectionPropertiespublic void setReconnectAtTxEnd(boolean property)
ConnectionProperties
setReconnectAtTxEnd in interface ConnectionPropertiespublic void setRelaxAutoCommit(boolean property)
ConnectionProperties
setRelaxAutoCommit in interface ConnectionPropertiespublic void setReportMetricsIntervalMillis(int millis)
ConnectionProperties
setReportMetricsIntervalMillis in interface ConnectionPropertiesmillis - The reportMetricsIntervalMillis to set.public void setRequireSSL(boolean property)
ConnectionProperties
setRequireSSL in interface ConnectionPropertiespublic void setRetainStatementAfterResultSetClose(boolean flag)
setRetainStatementAfterResultSetClose in interface ConnectionPropertiespublic void setRollbackOnPooledClose(boolean flag)
setRollbackOnPooledClose in interface ConnectionPropertiespublic void setRoundRobinLoadBalance(boolean flag)
ConnectionProperties
setRoundRobinLoadBalance in interface ConnectionPropertiesflag - The roundRobinLoadBalance property to set.public void setRunningCTS13(boolean flag)
setRunningCTS13 in interface ConnectionPropertiespublic void setSecondsBeforeRetryMaster(int property)
ConnectionProperties
setSecondsBeforeRetryMaster in interface ConnectionPropertiespublic void setServerTimezone(java.lang.String property)
ConnectionProperties
setServerTimezone in interface ConnectionPropertiesproperty - DOCUMENT ME!public void setSessionVariables(java.lang.String variables)
setSessionVariables in interface ConnectionPropertiespublic void setSlowQueryThresholdMillis(int millis)
ConnectionProperties
setSlowQueryThresholdMillis in interface ConnectionPropertiesmillis - The slowQueryThresholdMillis to set.public void setSocketFactoryClassName(java.lang.String property)
ConnectionProperties
setSocketFactoryClassName in interface ConnectionPropertiespublic void setSocketTimeout(int property)
ConnectionProperties
setSocketTimeout in interface ConnectionPropertiespublic void setStrictFloatingPoint(boolean property)
ConnectionProperties
setStrictFloatingPoint in interface ConnectionPropertiespublic void setStrictUpdates(boolean property)
ConnectionProperties
setStrictUpdates in interface ConnectionPropertiespublic void setTinyInt1isBit(boolean flag)
setTinyInt1isBit in interface ConnectionPropertiespublic void setTraceProtocol(boolean flag)
ConnectionProperties
setTraceProtocol in interface ConnectionPropertiesflag - The logProtocol to set.public void setTransformedBitIsBoolean(boolean flag)
setTransformedBitIsBoolean in interface ConnectionPropertiespublic void setUseCompression(boolean property)
ConnectionProperties
setUseCompression in interface ConnectionPropertiespublic void setUseFastIntParsing(boolean flag)
setUseFastIntParsing in interface ConnectionPropertiespublic void setUseHostsInPrivileges(boolean property)
ConnectionProperties
setUseHostsInPrivileges in interface ConnectionPropertiespublic void setUseInformationSchema(boolean flag)
setUseInformationSchema in interface ConnectionPropertiespublic void setUseLocalSessionState(boolean flag)
setUseLocalSessionState in interface ConnectionPropertiespublic void setUseOldUTF8Behavior(boolean flag)
setUseOldUTF8Behavior in interface ConnectionPropertiespublic void setUseOnlyServerErrorMessages(boolean flag)
setUseOnlyServerErrorMessages in interface ConnectionPropertiespublic void setUseReadAheadInput(boolean flag)
setUseReadAheadInput in interface ConnectionPropertiespublic void setUseServerPreparedStmts(boolean flag)
ConnectionProperties
setUseServerPreparedStmts in interface ConnectionPropertiesflag - The detectServerPreparedStmts to set.public void setUseSqlStateCodes(boolean flag)
ConnectionProperties
setUseSqlStateCodes in interface ConnectionPropertiesflag - The useSqlStateCodes to set.public void setUseSSL(boolean property)
ConnectionProperties
setUseSSL in interface ConnectionPropertiespublic void setUseStreamLengthsInPrepStmts(boolean property)
ConnectionProperties
setUseStreamLengthsInPrepStmts in interface ConnectionPropertiespublic void setUseTimezone(boolean property)
ConnectionProperties
setUseTimezone in interface ConnectionPropertiespublic void setUseUltraDevWorkAround(boolean property)
ConnectionProperties
setUseUltraDevWorkAround in interface ConnectionPropertiespublic void setUseUnbufferedInput(boolean flag)
ConnectionProperties
setUseUnbufferedInput in interface ConnectionPropertiesflag - The useUnbufferedInput to set.public void setUseUnicode(boolean flag)
ConnectionProperties
setUseUnicode in interface ConnectionPropertiesflag - The useUnicode to set.public void setUseUsageAdvisor(boolean useUsageAdvisorFlag)
ConnectionProperties
setUseUsageAdvisor in interface ConnectionPropertiesuseUsageAdvisorFlag - whether or not the driver advises of proper usage.public void setYearIsDateType(boolean flag)
setYearIsDateType in interface ConnectionPropertiespublic void setZeroDateTimeBehavior(java.lang.String behavior)
setZeroDateTimeBehavior in interface ConnectionProperties
protected void storeToRef(javax.naming.Reference ref)
throws java.sql.SQLException
java.sql.SQLExceptionpublic boolean useUnbufferedInput()
ConnectionProperties
useUnbufferedInput in interface ConnectionPropertiespublic boolean getUseCursorFetch()
getUseCursorFetch in interface ConnectionPropertiespublic void setUseCursorFetch(boolean flag)
setUseCursorFetch in interface ConnectionPropertiespublic boolean getOverrideSupportsIntegrityEnhancementFacility()
getOverrideSupportsIntegrityEnhancementFacility in interface ConnectionPropertiespublic void setOverrideSupportsIntegrityEnhancementFacility(boolean flag)
setOverrideSupportsIntegrityEnhancementFacility in interface ConnectionPropertiespublic boolean getNoTimezoneConversionForTimeType()
getNoTimezoneConversionForTimeType in interface ConnectionPropertiespublic void setNoTimezoneConversionForTimeType(boolean flag)
setNoTimezoneConversionForTimeType in interface ConnectionPropertiespublic boolean getUseJDBCCompliantTimezoneShift()
getUseJDBCCompliantTimezoneShift in interface ConnectionPropertiespublic void setUseJDBCCompliantTimezoneShift(boolean flag)
setUseJDBCCompliantTimezoneShift in interface ConnectionPropertiespublic boolean getAutoClosePStmtStreams()
getAutoClosePStmtStreams in interface ConnectionPropertiespublic void setAutoClosePStmtStreams(boolean flag)
setAutoClosePStmtStreams in interface ConnectionPropertiespublic boolean getProcessEscapeCodesForPrepStmts()
getProcessEscapeCodesForPrepStmts in interface ConnectionPropertiespublic void setProcessEscapeCodesForPrepStmts(boolean flag)
setProcessEscapeCodesForPrepStmts in interface ConnectionPropertiespublic boolean getUseGmtMillisForDatetimes()
getUseGmtMillisForDatetimes in interface ConnectionPropertiespublic void setUseGmtMillisForDatetimes(boolean flag)
setUseGmtMillisForDatetimes in interface ConnectionPropertiespublic boolean getDumpMetadataOnColumnNotFound()
getDumpMetadataOnColumnNotFound in interface ConnectionPropertiespublic void setDumpMetadataOnColumnNotFound(boolean flag)
setDumpMetadataOnColumnNotFound in interface ConnectionPropertiespublic java.lang.String getResourceId()
getResourceId in interface ConnectionPropertiespublic void setResourceId(java.lang.String resourceId)
setResourceId in interface ConnectionPropertiespublic boolean getRewriteBatchedStatements()
getRewriteBatchedStatements in interface ConnectionPropertiespublic void setRewriteBatchedStatements(boolean flag)
setRewriteBatchedStatements in interface ConnectionPropertiespublic boolean getJdbcCompliantTruncationForReads()
getJdbcCompliantTruncationForReads in interface ConnectionPropertiespublic void setJdbcCompliantTruncationForReads(boolean jdbcCompliantTruncationForReads)
setJdbcCompliantTruncationForReads in interface ConnectionPropertiespublic boolean getUseJvmCharsetConverters()
getUseJvmCharsetConverters in interface ConnectionPropertiespublic void setUseJvmCharsetConverters(boolean flag)
setUseJvmCharsetConverters in interface ConnectionPropertiespublic boolean getPinGlobalTxToPhysicalConnection()
getPinGlobalTxToPhysicalConnection in interface ConnectionPropertiespublic void setPinGlobalTxToPhysicalConnection(boolean flag)
setPinGlobalTxToPhysicalConnection in interface ConnectionPropertiespublic void setGatherPerfMetrics(boolean flag)
setGatherPerfMetrics in interface ConnectionPropertiespublic boolean getGatherPerfMetrics()
getGatherPerfMetrics in interface ConnectionPropertiespublic void setUltraDevHack(boolean flag)
setUltraDevHack in interface ConnectionPropertiespublic boolean getUltraDevHack()
getUltraDevHack in interface ConnectionPropertiespublic void setInteractiveClient(boolean property)
setInteractiveClient in interface ConnectionPropertiespublic void setSocketFactory(java.lang.String name)
setSocketFactory in interface ConnectionPropertiespublic java.lang.String getSocketFactory()
getSocketFactory in interface ConnectionPropertiespublic void setUseServerPrepStmts(boolean flag)
setUseServerPrepStmts in interface ConnectionPropertiespublic boolean getUseServerPrepStmts()
getUseServerPrepStmts in interface ConnectionPropertiespublic void setCacheCallableStmts(boolean flag)
setCacheCallableStmts in interface ConnectionPropertiespublic boolean getCacheCallableStmts()
getCacheCallableStmts in interface ConnectionPropertiespublic void setCachePrepStmts(boolean flag)
setCachePrepStmts in interface ConnectionPropertiespublic boolean getCachePrepStmts()
getCachePrepStmts in interface ConnectionPropertiespublic void setCallableStmtCacheSize(int cacheSize)
setCallableStmtCacheSize in interface ConnectionPropertiespublic int getCallableStmtCacheSize()
getCallableStmtCacheSize in interface ConnectionPropertiespublic void setPrepStmtCacheSize(int cacheSize)
setPrepStmtCacheSize in interface ConnectionPropertiespublic int getPrepStmtCacheSize()
getPrepStmtCacheSize in interface ConnectionPropertiespublic void setPrepStmtCacheSqlLimit(int sqlLimit)
setPrepStmtCacheSqlLimit in interface ConnectionPropertiespublic int getPrepStmtCacheSqlLimit()
getPrepStmtCacheSqlLimit in interface ConnectionPropertiespublic boolean getNoAccessToProcedureBodies()
getNoAccessToProcedureBodies in interface ConnectionPropertiespublic void setNoAccessToProcedureBodies(boolean flag)
setNoAccessToProcedureBodies in interface ConnectionPropertiespublic boolean getUseOldAliasMetadataBehavior()
getUseOldAliasMetadataBehavior in interface ConnectionPropertiespublic void setUseOldAliasMetadataBehavior(boolean flag)
setUseOldAliasMetadataBehavior in interface ConnectionPropertiespublic java.lang.String getClientCertificateKeyStorePassword()
getClientCertificateKeyStorePassword in interface ConnectionPropertiespublic void setClientCertificateKeyStorePassword(java.lang.String value)
setClientCertificateKeyStorePassword in interface ConnectionPropertiespublic java.lang.String getClientCertificateKeyStoreType()
getClientCertificateKeyStoreType in interface ConnectionPropertiespublic void setClientCertificateKeyStoreType(java.lang.String value)
setClientCertificateKeyStoreType in interface ConnectionPropertiespublic java.lang.String getClientCertificateKeyStoreUrl()
getClientCertificateKeyStoreUrl in interface ConnectionPropertiespublic void setClientCertificateKeyStoreUrl(java.lang.String value)
setClientCertificateKeyStoreUrl in interface ConnectionPropertiespublic java.lang.String getTrustCertificateKeyStorePassword()
getTrustCertificateKeyStorePassword in interface ConnectionPropertiespublic void setTrustCertificateKeyStorePassword(java.lang.String value)
setTrustCertificateKeyStorePassword in interface ConnectionPropertiespublic java.lang.String getTrustCertificateKeyStoreType()
getTrustCertificateKeyStoreType in interface ConnectionPropertiespublic void setTrustCertificateKeyStoreType(java.lang.String value)
setTrustCertificateKeyStoreType in interface ConnectionPropertiespublic java.lang.String getTrustCertificateKeyStoreUrl()
getTrustCertificateKeyStoreUrl in interface ConnectionPropertiespublic void setTrustCertificateKeyStoreUrl(java.lang.String value)
setTrustCertificateKeyStoreUrl in interface ConnectionPropertiespublic boolean getUseSSPSCompatibleTimezoneShift()
getUseSSPSCompatibleTimezoneShift in interface ConnectionPropertiespublic void setUseSSPSCompatibleTimezoneShift(boolean flag)
setUseSSPSCompatibleTimezoneShift in interface ConnectionPropertiespublic boolean getTreatUtilDateAsTimestamp()
getTreatUtilDateAsTimestamp in interface ConnectionPropertiespublic void setTreatUtilDateAsTimestamp(boolean flag)
setTreatUtilDateAsTimestamp in interface ConnectionPropertiespublic boolean getUseFastDateParsing()
getUseFastDateParsing in interface ConnectionPropertiespublic void setUseFastDateParsing(boolean flag)
setUseFastDateParsing in interface ConnectionPropertiespublic java.lang.String getLocalSocketAddress()
getLocalSocketAddress in interface ConnectionPropertiespublic void setLocalSocketAddress(java.lang.String address)
setLocalSocketAddress in interface ConnectionPropertiespublic void setUseConfigs(java.lang.String configs)
setUseConfigs in interface ConnectionPropertiespublic java.lang.String getUseConfigs()
getUseConfigs in interface ConnectionPropertiespublic boolean getGenerateSimpleParameterMetadata()
getGenerateSimpleParameterMetadata in interface ConnectionPropertiespublic void setGenerateSimpleParameterMetadata(boolean flag)
setGenerateSimpleParameterMetadata in interface ConnectionPropertiespublic boolean getLogXaCommands()
getLogXaCommands in interface ConnectionPropertiespublic void setLogXaCommands(boolean flag)
setLogXaCommands in interface ConnectionPropertiespublic int getResultSetSizeThreshold()
getResultSetSizeThreshold in interface ConnectionPropertiespublic void setResultSetSizeThreshold(int threshold)
setResultSetSizeThreshold in interface ConnectionPropertiespublic int getNetTimeoutForStreamingResults()
getNetTimeoutForStreamingResults in interface ConnectionPropertiespublic void setNetTimeoutForStreamingResults(int value)
setNetTimeoutForStreamingResults in interface ConnectionPropertiespublic boolean getEnableQueryTimeouts()
getEnableQueryTimeouts in interface ConnectionPropertiespublic void setEnableQueryTimeouts(boolean flag)
setEnableQueryTimeouts in interface ConnectionPropertiespublic boolean getPadCharsWithSpace()
getPadCharsWithSpace in interface ConnectionPropertiespublic void setPadCharsWithSpace(boolean flag)
setPadCharsWithSpace in interface ConnectionPropertiespublic boolean getUseDynamicCharsetInfo()
getUseDynamicCharsetInfo in interface ConnectionPropertiespublic void setUseDynamicCharsetInfo(boolean flag)
setUseDynamicCharsetInfo in interface ConnectionPropertiespublic java.lang.String getClientInfoProvider()
getClientInfoProvider in interface ConnectionPropertiespublic void setClientInfoProvider(java.lang.String classname)
setClientInfoProvider in interface ConnectionPropertiespublic boolean getPopulateInsertRowWithDefaultValues()
getPopulateInsertRowWithDefaultValues in interface ConnectionPropertiespublic void setPopulateInsertRowWithDefaultValues(boolean flag)
setPopulateInsertRowWithDefaultValues in interface ConnectionPropertiespublic java.lang.String getLoadBalanceStrategy()
getLoadBalanceStrategy in interface ConnectionPropertiespublic void setLoadBalanceStrategy(java.lang.String strategy)
setLoadBalanceStrategy in interface ConnectionPropertiespublic boolean getTcpNoDelay()
getTcpNoDelay in interface ConnectionPropertiespublic void setTcpNoDelay(boolean flag)
setTcpNoDelay in interface ConnectionPropertiespublic boolean getTcpKeepAlive()
getTcpKeepAlive in interface ConnectionPropertiespublic void setTcpKeepAlive(boolean flag)
setTcpKeepAlive in interface ConnectionPropertiespublic int getTcpRcvBuf()
getTcpRcvBuf in interface ConnectionPropertiespublic void setTcpRcvBuf(int bufSize)
setTcpRcvBuf in interface ConnectionPropertiespublic int getTcpSndBuf()
getTcpSndBuf in interface ConnectionPropertiespublic void setTcpSndBuf(int bufSize)
setTcpSndBuf in interface ConnectionPropertiespublic int getTcpTrafficClass()
getTcpTrafficClass in interface ConnectionPropertiespublic void setTcpTrafficClass(int classFlags)
setTcpTrafficClass in interface ConnectionPropertiespublic boolean getUseNanosForElapsedTime()
getUseNanosForElapsedTime in interface ConnectionPropertiespublic void setUseNanosForElapsedTime(boolean flag)
setUseNanosForElapsedTime in interface ConnectionPropertiespublic long getSlowQueryThresholdNanos()
getSlowQueryThresholdNanos in interface ConnectionPropertiespublic void setSlowQueryThresholdNanos(long nanos)
setSlowQueryThresholdNanos in interface ConnectionPropertiespublic java.lang.String getStatementInterceptors()
getStatementInterceptors in interface ConnectionPropertiespublic void setStatementInterceptors(java.lang.String value)
setStatementInterceptors in interface ConnectionPropertiespublic boolean getUseDirectRowUnpack()
getUseDirectRowUnpack in interface ConnectionPropertiespublic void setUseDirectRowUnpack(boolean flag)
setUseDirectRowUnpack in interface ConnectionPropertiespublic java.lang.String getLargeRowSizeThreshold()
getLargeRowSizeThreshold in interface ConnectionPropertiespublic void setLargeRowSizeThreshold(java.lang.String value)
setLargeRowSizeThreshold in interface ConnectionPropertiespublic boolean getUseBlobToStoreUTF8OutsideBMP()
getUseBlobToStoreUTF8OutsideBMP in interface ConnectionPropertiespublic void setUseBlobToStoreUTF8OutsideBMP(boolean flag)
setUseBlobToStoreUTF8OutsideBMP in interface ConnectionPropertiespublic java.lang.String getUtf8OutsideBmpExcludedColumnNamePattern()
getUtf8OutsideBmpExcludedColumnNamePattern in interface ConnectionPropertiespublic void setUtf8OutsideBmpExcludedColumnNamePattern(java.lang.String regexPattern)
setUtf8OutsideBmpExcludedColumnNamePattern in interface ConnectionPropertiespublic java.lang.String getUtf8OutsideBmpIncludedColumnNamePattern()
getUtf8OutsideBmpIncludedColumnNamePattern in interface ConnectionPropertiespublic void setUtf8OutsideBmpIncludedColumnNamePattern(java.lang.String regexPattern)
setUtf8OutsideBmpIncludedColumnNamePattern in interface ConnectionPropertiespublic boolean getIncludeInnodbStatusInDeadlockExceptions()
getIncludeInnodbStatusInDeadlockExceptions in interface ConnectionPropertiespublic void setIncludeInnodbStatusInDeadlockExceptions(boolean flag)
setIncludeInnodbStatusInDeadlockExceptions in interface ConnectionPropertiespublic boolean getBlobsAreStrings()
getBlobsAreStrings in interface ConnectionPropertiespublic void setBlobsAreStrings(boolean flag)
setBlobsAreStrings in interface ConnectionPropertiespublic boolean getFunctionsNeverReturnBlobs()
getFunctionsNeverReturnBlobs in interface ConnectionPropertiespublic void setFunctionsNeverReturnBlobs(boolean flag)
setFunctionsNeverReturnBlobs in interface ConnectionPropertiespublic boolean getAutoSlowLog()
getAutoSlowLog in interface ConnectionPropertiespublic void setAutoSlowLog(boolean flag)
setAutoSlowLog in interface ConnectionPropertiespublic java.lang.String getConnectionLifecycleInterceptors()
getConnectionLifecycleInterceptors in interface ConnectionPropertiespublic void setConnectionLifecycleInterceptors(java.lang.String interceptors)
setConnectionLifecycleInterceptors in interface ConnectionPropertiespublic java.lang.String getProfilerEventHandler()
getProfilerEventHandler in interface ConnectionPropertiespublic void setProfilerEventHandler(java.lang.String handler)
setProfilerEventHandler in interface ConnectionPropertiespublic boolean getVerifyServerCertificate()
getVerifyServerCertificate in interface ConnectionPropertiespublic void setVerifyServerCertificate(boolean flag)
setVerifyServerCertificate in interface ConnectionPropertiespublic boolean getUseLegacyDatetimeCode()
getUseLegacyDatetimeCode in interface ConnectionPropertiespublic void setUseLegacyDatetimeCode(boolean flag)
setUseLegacyDatetimeCode in interface ConnectionPropertiespublic int getSelfDestructOnPingSecondsLifetime()
getSelfDestructOnPingSecondsLifetime in interface ConnectionPropertiespublic void setSelfDestructOnPingSecondsLifetime(int seconds)
setSelfDestructOnPingSecondsLifetime in interface ConnectionPropertiespublic int getSelfDestructOnPingMaxOperations()
getSelfDestructOnPingMaxOperations in interface ConnectionPropertiespublic void setSelfDestructOnPingMaxOperations(int maxOperations)
setSelfDestructOnPingMaxOperations in interface ConnectionProperties
|
MySQL Connector/J size='-1'>5.1.6 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||