Serialized Form


Package com.mysql.jdbc

Class com.mysql.jdbc.AssertionFailedException extends java.lang.RuntimeException implements Serializable

Class com.mysql.jdbc.CommunicationsException extends java.sql.SQLException implements Serializable

Serialized Fields

exceptionMessage

java.lang.String exceptionMessage

Class com.mysql.jdbc.Connection extends ConnectionProperties implements Serializable

Serialized Fields

autoCommit

boolean autoCommit
Are we in autoCommit mode?


cachedPreparedStatementParams

java.util.Map<K,V> cachedPreparedStatementParams
A map of SQL to parsed prepared statement parameters.


characterSetMetadata

java.lang.String characterSetMetadata
For servers > 4.1.0, what character set is the metadata returned in?


characterSetResultsOnServer

java.lang.String characterSetResultsOnServer
The character set we want results and result metadata returned in (null == results in any charset, metadata in UTF-8).


charsetConverterMap

java.util.Map<K,V> charsetConverterMap
Holds cached mappings to charset converters to avoid static synchronization and at the same time save memory (each charset converter takes approx 65K of static data).


charsetToNumBytesMap

java.util.Map<K,V> charsetToNumBytesMap
The mapping between MySQL charset names and the max number of chars in them. Lazily instantiated via getMaxBytesPerChar().


connectionCreationTimeMillis

long connectionCreationTimeMillis
The point in time when this connection was created


connectionId

long connectionId
ID used when profiling


database

java.lang.String database
The database we're currently using (called Catalog in JDBC terms).


dbmd

DatabaseMetaData dbmd
Internal DBMD to use for various database-version specific features


defaultTimeZone

java.util.TimeZone defaultTimeZone

eventSink

com.mysql.jdbc.profiler.ProfileEventSink eventSink
The event sink to use for profiling


executingFailoverReconnect

boolean executingFailoverReconnect

failedOver

boolean failedOver
Are we failed-over to a non-master host


forceClosedReason

java.lang.Throwable forceClosedReason
Why was this connection implicitly closed, if known? (for diagnostics)


forcedClosedLocation

java.lang.Throwable forcedClosedLocation
Where was this connection implicitly closed? (for diagnostics)


hasIsolationLevels

boolean hasIsolationLevels
Does the server suuport isolation levels?


hasQuotedIdentifiers

boolean hasQuotedIdentifiers
Does this version of MySQL support quoted identifiers?


host

java.lang.String host
The hostname we're connected to


hostList

java.util.List<E> hostList
The list of host(s) to try and connect to


hostListSize

int hostListSize
How many hosts are in the host list?


indexToCharsetMapping

java.lang.String[] indexToCharsetMapping
We need this 'bootstrapped', because 4.1 and newer will send fields back with this even before we fill this dynamically from the server.


io

MysqlIO io
The I/O abstraction interface (network conn to MySQL server


isClientTzUTC

boolean isClientTzUTC

isClosed

boolean isClosed
Has this connection been closed?


isInGlobalTx

boolean isInGlobalTx
Is this connection associated with a global tx?


isRunningOnJDK13

boolean isRunningOnJDK13
Is this connection running inside a JDK-1.3 VM?


isolationLevel

int isolationLevel
isolation level


isServerTzUTC

boolean isServerTzUTC

lastQueryFinishedTime

long lastQueryFinishedTime
When did the last query finish?


log

com.mysql.jdbc.log.Log log
The logger we're going to use


longestQueryTimeMs

long longestQueryTimeMs
If gathering metrics, what was the execution time of the longest query so far ?


lowerCaseTableNames

boolean lowerCaseTableNames
Is the server configured to use lower-case table names only?


masterFailTimeMillis

long masterFailTimeMillis
When did the master fail?


maxAllowedPacket

int maxAllowedPacket
The largest packet we can send (changed once we know what the server supports, we get this at connection init).


maximumNumberTablesAccessed

long maximumNumberTablesAccessed

maxRowsChanged

boolean maxRowsChanged
Has the max-rows setting been changed from the default?


metricsLastReportedMs

long metricsLastReportedMs
When was the last time we reported metrics?


minimumNumberTablesAccessed

long minimumNumberTablesAccessed

mutex

java.lang.Object mutex
Mutex


myURL

java.lang.String myURL
The JDBC URL we're using


needsPing

boolean needsPing
Does this connection need to be tested?


netBufferLength

int netBufferLength

noBackslashEscapes

boolean noBackslashEscapes

numberOfPreparedExecutes

long numberOfPreparedExecutes

numberOfPrepares

long numberOfPrepares

numberOfQueriesIssued

long numberOfQueriesIssued

numberOfResultSetsCreated

long numberOfResultSetsCreated

numTablesMetricsHistBreakpoints

long[] numTablesMetricsHistBreakpoints

numTablesMetricsHistCounts

int[] numTablesMetricsHistCounts

oldHistBreakpoints

long[] oldHistBreakpoints

oldHistCounts

int[] oldHistCounts

openStatements

java.util.Map<K,V> openStatements
A map of currently open statements


parsedCallableStatementCache

com.mysql.jdbc.util.LRUCache parsedCallableStatementCache

parserKnowsUnicode

boolean parserKnowsUnicode

password

java.lang.String password
The password we used


perfMetricsHistBreakpoints

long[] perfMetricsHistBreakpoints

perfMetricsHistCounts

int[] perfMetricsHistCounts

pointOfOrigin

java.lang.Throwable pointOfOrigin
Point of origin where this Connection was created


port

int port
The port number we're connected to (defaults to 3306)


preferSlaveDuringFailover

boolean preferSlaveDuringFailover
Used only when testing failover functionality for regressions, causes the failover code to not retry the master first


props

java.util.Properties props
Properties for this connection specified by user


queriesIssuedFailedOver

long queriesIssuedFailedOver
Number of queries we've issued since the master failed


readInfoMsg

boolean readInfoMsg
Should we retrieve 'info' messages from the server?


readOnly

boolean readOnly
Are we in read-only mode?


serverTimezoneTZ

java.util.TimeZone serverTimezoneTZ
The timezone of the server


serverVariables

java.util.Map<K,V> serverVariables
The map of server variables that we retrieve at connection init.


shortestQueryTimeMs

long shortestQueryTimeMs

statementsUsingMaxRows

java.util.Map<K,V> statementsUsingMaxRows
A map of statements that have had setMaxRows() called on them


totalQueryTimeMs

double totalQueryTimeMs

transactionsSupported

boolean transactionsSupported
Are transactions supported by the MySQL server we are connected to?


typeMap

java.util.Map<K,V> typeMap
The type map for UDTs (not implemented, but used by some third-party vendors, most notably IBM WebSphere)


useAnsiQuotes

boolean useAnsiQuotes
Has ANSI_QUOTES been enabled on the server?


user

java.lang.String user
The user we're connected as


useServerPreparedStmts

boolean useServerPreparedStmts
Should we use server-side prepared statements? (auto-detected, but can be disabled by user)


serverSideStatementCheckCache

com.mysql.jdbc.util.LRUCache serverSideStatementCheckCache

serverSideStatementCache

com.mysql.jdbc.util.LRUCache serverSideStatementCache

sessionCalendar

java.util.Calendar sessionCalendar

utcCalendar

java.util.Calendar utcCalendar

origHostToConnectTo

java.lang.String origHostToConnectTo

origPortToConnectTo

int origPortToConnectTo

origDatabaseToConnectTo

java.lang.String origDatabaseToConnectTo

errorMessageEncoding

java.lang.String errorMessageEncoding

usePlatformCharsetConverters

boolean usePlatformCharsetConverters

hasTriedMasterFlag

boolean hasTriedMasterFlag

Class com.mysql.jdbc.ConnectionFeatureNotAvailableException extends CommunicationsException implements Serializable

Class com.mysql.jdbc.ConnectionProperties extends java.lang.Object implements Serializable

serialVersionUID: 4257801713007640580L

Serialized Fields

allowLoadLocalInfile

ConnectionProperties.BooleanConnectionProperty allowLoadLocalInfile

allowMultiQueries

ConnectionProperties.BooleanConnectionProperty allowMultiQueries

allowNanAndInf

ConnectionProperties.BooleanConnectionProperty allowNanAndInf

allowUrlInLocalInfile

ConnectionProperties.BooleanConnectionProperty allowUrlInLocalInfile

alwaysSendSetIsolation

ConnectionProperties.BooleanConnectionProperty alwaysSendSetIsolation

autoClosePStmtStreams

ConnectionProperties.BooleanConnectionProperty autoClosePStmtStreams

autoDeserialize

ConnectionProperties.BooleanConnectionProperty autoDeserialize

autoGenerateTestcaseScript

ConnectionProperties.BooleanConnectionProperty autoGenerateTestcaseScript

autoGenerateTestcaseScriptAsBoolean

boolean autoGenerateTestcaseScriptAsBoolean

autoReconnect

ConnectionProperties.BooleanConnectionProperty autoReconnect

autoReconnectForPools

ConnectionProperties.BooleanConnectionProperty autoReconnectForPools

autoReconnectForPoolsAsBoolean

boolean autoReconnectForPoolsAsBoolean

blobSendChunkSize

ConnectionProperties.MemorySizeConnectionProperty blobSendChunkSize

cacheCallableStatements

ConnectionProperties.BooleanConnectionProperty cacheCallableStatements

cachePreparedStatements

ConnectionProperties.BooleanConnectionProperty cachePreparedStatements

cacheResultSetMetadata

ConnectionProperties.BooleanConnectionProperty cacheResultSetMetadata

cacheResultSetMetaDataAsBoolean

boolean cacheResultSetMetaDataAsBoolean

cacheServerConfiguration

ConnectionProperties.BooleanConnectionProperty cacheServerConfiguration

callableStatementCacheSize

ConnectionProperties.IntegerConnectionProperty callableStatementCacheSize

capitalizeTypeNames

ConnectionProperties.BooleanConnectionProperty capitalizeTypeNames

characterEncoding

ConnectionProperties.StringConnectionProperty characterEncoding

characterEncodingAsString

java.lang.String characterEncodingAsString

characterSetResults

ConnectionProperties.StringConnectionProperty characterSetResults

clobberStreamingResults

ConnectionProperties.BooleanConnectionProperty clobberStreamingResults

clobCharacterEncoding

ConnectionProperties.StringConnectionProperty clobCharacterEncoding

connectionCollation

ConnectionProperties.StringConnectionProperty connectionCollation

connectTimeout

ConnectionProperties.IntegerConnectionProperty connectTimeout

continueBatchOnError

ConnectionProperties.BooleanConnectionProperty continueBatchOnError

createDatabaseIfNotExist

ConnectionProperties.BooleanConnectionProperty createDatabaseIfNotExist

defaultFetchSize

ConnectionProperties.IntegerConnectionProperty defaultFetchSize

detectServerPreparedStmts

ConnectionProperties.BooleanConnectionProperty detectServerPreparedStmts

dontTrackOpenResources

ConnectionProperties.BooleanConnectionProperty dontTrackOpenResources

dumpQueriesOnException

ConnectionProperties.BooleanConnectionProperty dumpQueriesOnException

dynamicCalendars

ConnectionProperties.BooleanConnectionProperty dynamicCalendars

elideSetAutoCommits

ConnectionProperties.BooleanConnectionProperty elideSetAutoCommits

emptyStringsConvertToZero

ConnectionProperties.BooleanConnectionProperty emptyStringsConvertToZero

emulateLocators

ConnectionProperties.BooleanConnectionProperty emulateLocators

emulateUnsupportedPstmts

ConnectionProperties.BooleanConnectionProperty emulateUnsupportedPstmts

enableDeprecatedAutoreconnect

ConnectionProperties.BooleanConnectionProperty enableDeprecatedAutoreconnect

enablePacketDebug

ConnectionProperties.BooleanConnectionProperty enablePacketDebug

explainSlowQueries

ConnectionProperties.BooleanConnectionProperty explainSlowQueries

failOverReadOnly

ConnectionProperties.BooleanConnectionProperty failOverReadOnly
When failed-over, set connection to read-only?


gatherPerformanceMetrics

ConnectionProperties.BooleanConnectionProperty gatherPerformanceMetrics

highAvailabilityAsBoolean

boolean highAvailabilityAsBoolean

holdResultsOpenOverStatementClose

ConnectionProperties.BooleanConnectionProperty holdResultsOpenOverStatementClose

ignoreNonTxTables

ConnectionProperties.BooleanConnectionProperty ignoreNonTxTables

initialTimeout

ConnectionProperties.IntegerConnectionProperty initialTimeout

isInteractiveClient

ConnectionProperties.BooleanConnectionProperty isInteractiveClient

jdbcCompliantTruncation

ConnectionProperties.BooleanConnectionProperty jdbcCompliantTruncation

jdbcCompliantTruncationForReads

boolean jdbcCompliantTruncationForReads

locatorFetchBufferSize

ConnectionProperties.MemorySizeConnectionProperty locatorFetchBufferSize

loggerClassName

ConnectionProperties.StringConnectionProperty loggerClassName

logSlowQueries

ConnectionProperties.BooleanConnectionProperty logSlowQueries

maintainTimeStats

ConnectionProperties.BooleanConnectionProperty maintainTimeStats

maintainTimeStatsAsBoolean

boolean maintainTimeStatsAsBoolean

maxQuerySizeToLog

ConnectionProperties.IntegerConnectionProperty maxQuerySizeToLog

maxReconnects

ConnectionProperties.IntegerConnectionProperty maxReconnects

maxRows

ConnectionProperties.IntegerConnectionProperty maxRows

maxRowsAsInt

int maxRowsAsInt

metadataCacheSize

ConnectionProperties.IntegerConnectionProperty metadataCacheSize

noAccessToProcedureBodies

ConnectionProperties.BooleanConnectionProperty noAccessToProcedureBodies

noDatetimeStringSync

ConnectionProperties.BooleanConnectionProperty noDatetimeStringSync

noTimezoneConversionForTimeType

ConnectionProperties.BooleanConnectionProperty noTimezoneConversionForTimeType

nullCatalogMeansCurrent

ConnectionProperties.BooleanConnectionProperty nullCatalogMeansCurrent

nullNamePatternMatchesAll

ConnectionProperties.BooleanConnectionProperty nullNamePatternMatchesAll

packetDebugBufferSize

ConnectionProperties.IntegerConnectionProperty packetDebugBufferSize

paranoid

ConnectionProperties.BooleanConnectionProperty paranoid

pedantic

ConnectionProperties.BooleanConnectionProperty pedantic

pinGlobalTxToPhysicalConnection

ConnectionProperties.BooleanConnectionProperty pinGlobalTxToPhysicalConnection

preparedStatementCacheSize

ConnectionProperties.IntegerConnectionProperty preparedStatementCacheSize

preparedStatementCacheSqlLimit

ConnectionProperties.IntegerConnectionProperty preparedStatementCacheSqlLimit

processEscapeCodesForPrepStmts

ConnectionProperties.BooleanConnectionProperty processEscapeCodesForPrepStmts

profileSql

ConnectionProperties.StringConnectionProperty profileSql

profileSQL

ConnectionProperties.BooleanConnectionProperty profileSQL

profileSQLAsBoolean

boolean profileSQLAsBoolean

propertiesTransform

ConnectionProperties.StringConnectionProperty propertiesTransform

queriesBeforeRetryMaster

ConnectionProperties.IntegerConnectionProperty queriesBeforeRetryMaster

reconnectAtTxEnd

ConnectionProperties.BooleanConnectionProperty reconnectAtTxEnd

reconnectTxAtEndAsBoolean

boolean reconnectTxAtEndAsBoolean

relaxAutoCommit

ConnectionProperties.BooleanConnectionProperty relaxAutoCommit

reportMetricsIntervalMillis

ConnectionProperties.IntegerConnectionProperty reportMetricsIntervalMillis

requireSSL

ConnectionProperties.BooleanConnectionProperty requireSSL

resourceId

ConnectionProperties.StringConnectionProperty resourceId

retainStatementAfterResultSetClose

ConnectionProperties.BooleanConnectionProperty retainStatementAfterResultSetClose

rewriteBatchedStatements

ConnectionProperties.BooleanConnectionProperty rewriteBatchedStatements

rollbackOnPooledClose

ConnectionProperties.BooleanConnectionProperty rollbackOnPooledClose

roundRobinLoadBalance

ConnectionProperties.BooleanConnectionProperty roundRobinLoadBalance

runningCTS13

ConnectionProperties.BooleanConnectionProperty runningCTS13

secondsBeforeRetryMaster

ConnectionProperties.IntegerConnectionProperty secondsBeforeRetryMaster

serverTimezone

ConnectionProperties.StringConnectionProperty serverTimezone

sessionVariables

ConnectionProperties.StringConnectionProperty sessionVariables

slowQueryThresholdMillis

ConnectionProperties.IntegerConnectionProperty slowQueryThresholdMillis

socketFactoryClassName

ConnectionProperties.StringConnectionProperty socketFactoryClassName

socketTimeout

ConnectionProperties.IntegerConnectionProperty socketTimeout

strictFloatingPoint

ConnectionProperties.BooleanConnectionProperty strictFloatingPoint

strictUpdates

ConnectionProperties.BooleanConnectionProperty strictUpdates

overrideSupportsIntegrityEnhancementFacility

ConnectionProperties.BooleanConnectionProperty overrideSupportsIntegrityEnhancementFacility

tinyInt1isBit

ConnectionProperties.BooleanConnectionProperty tinyInt1isBit

traceProtocol

ConnectionProperties.BooleanConnectionProperty traceProtocol

transformedBitIsBoolean

ConnectionProperties.BooleanConnectionProperty transformedBitIsBoolean

useCompression

ConnectionProperties.BooleanConnectionProperty useCompression

useConfig

ConnectionProperties.StringConnectionProperty useConfig

useCursorFetch

ConnectionProperties.BooleanConnectionProperty useCursorFetch

useFastIntParsing

ConnectionProperties.BooleanConnectionProperty useFastIntParsing

useHostsInPrivileges

ConnectionProperties.BooleanConnectionProperty useHostsInPrivileges

useInformationSchema

ConnectionProperties.BooleanConnectionProperty useInformationSchema

useJDBCCompliantTimezoneShift

ConnectionProperties.BooleanConnectionProperty useJDBCCompliantTimezoneShift

useLocalSessionState

ConnectionProperties.BooleanConnectionProperty useLocalSessionState

useOldUTF8Behavior

ConnectionProperties.BooleanConnectionProperty useOldUTF8Behavior

useOldUTF8BehaviorAsBoolean

boolean useOldUTF8BehaviorAsBoolean

useOnlyServerErrorMessages

ConnectionProperties.BooleanConnectionProperty useOnlyServerErrorMessages

useReadAheadInput

ConnectionProperties.BooleanConnectionProperty useReadAheadInput

useSqlStateCodes

ConnectionProperties.BooleanConnectionProperty useSqlStateCodes

useSSL

ConnectionProperties.BooleanConnectionProperty useSSL

useStreamLengthsInPrepStmts

ConnectionProperties.BooleanConnectionProperty useStreamLengthsInPrepStmts

useTimezone

ConnectionProperties.BooleanConnectionProperty useTimezone

useUltraDevWorkAround

ConnectionProperties.BooleanConnectionProperty useUltraDevWorkAround

useUnbufferedInput

ConnectionProperties.BooleanConnectionProperty useUnbufferedInput

useUnicode

ConnectionProperties.BooleanConnectionProperty useUnicode

useUnicodeAsBoolean

boolean useUnicodeAsBoolean

useUsageAdvisor

ConnectionProperties.BooleanConnectionProperty useUsageAdvisor

useUsageAdvisorAsBoolean

boolean useUsageAdvisorAsBoolean

yearIsDateType

ConnectionProperties.BooleanConnectionProperty yearIsDateType

zeroDateTimeBehavior

ConnectionProperties.StringConnectionProperty zeroDateTimeBehavior

useJvmCharsetConverters

ConnectionProperties.BooleanConnectionProperty useJvmCharsetConverters

useGmtMillisForDatetimes

ConnectionProperties.BooleanConnectionProperty useGmtMillisForDatetimes

dumpMetadataOnColumnNotFound

ConnectionProperties.BooleanConnectionProperty dumpMetadataOnColumnNotFound

Class com.mysql.jdbc.DocsConnectionPropsHelper extends ConnectionProperties implements Serializable

Class com.mysql.jdbc.MysqlDataTruncation extends java.sql.DataTruncation implements Serializable

Serialized Fields

message

java.lang.String message

Class com.mysql.jdbc.NotImplemented extends java.sql.SQLException implements Serializable

Class com.mysql.jdbc.NotUpdatable extends java.sql.SQLException implements Serializable

Class com.mysql.jdbc.PacketTooBigException extends java.sql.SQLException implements Serializable