# Serialized Form

## Package com.mysql.cj

### Class com.mysql.cj.NativeSession extends com.mysql.cj.CoreSession implements Serializable

serialVersionUID:
  5323638898749073419L

### Serialized Fields

#### serverConfigCache

    CacheAdapter<K,V> serverConfigCache

#### lastQueryFinishedTime

    long lastQueryFinishedTime

#### queryComment

    String queryComment

#### needsPing

    boolean needsPing

#### commandBuilder

    com.mysql.cj.protocol.a.NativeMessageBuilder commandBuilder

#### isClosed

    boolean isClosed

#### forceClosedReason

    Throwable forceClosedReason

#### listeners

    CopyOnWriteArrayList<E> listeners

## Package com.mysql.cj.conf

### Class com.mysql.cj.conf.AbstractPropertyDefinition extends Object implements Serializable

serialVersionUID:
  2696624840927848766L

### Serialized Fields

#### key

    PropertyKey key

#### name

    String name

#### ccAlias

    String ccAlias

#### defaultValue

    Object defaultValue

#### isRuntimeModifiable

    boolean isRuntimeModifiable

#### description

    String description

#### sinceVersion

    String sinceVersion

#### category

    String category

#### order

    int order

#### lowerBound

    int lowerBound

#### upperBound

    int upperBound

### Class com.mysql.cj.conf.AbstractRuntimeProperty extends Object implements Serializable

serialVersionUID:
  -3424722534876438236L

### Serialized Fields

#### propertyDefinition

    PropertyDefinition<T> propertyDefinition

#### value

    Object value

#### initialValue

    Object initialValue

#### wasExplicitlySet

    boolean wasExplicitlySet

#### listeners

    List<E> listeners

### Class com.mysql.cj.conf.BooleanProperty extends com.mysql.cj.conf.AbstractRuntimeProperty<Boolean> implements Serializable

serialVersionUID:
  1102859411443650569L

### Class com.mysql.cj.conf.BooleanPropertyDefinition extends com.mysql.cj.conf.AbstractPropertyDefinition<Boolean> implements Serializable

serialVersionUID:
  -7288366734350231540L

### Class com.mysql.cj.conf.DefaultPropertySet extends Object implements Serializable

serialVersionUID:
  -5156024634430650528L

### Serialized Fields

#### PROPERTY_KEY_TO_RUNTIME_PROPERTY

    Map<K,V> PROPERTY_KEY_TO_RUNTIME_PROPERTY

#### PROPERTY_NAME_TO_RUNTIME_PROPERTY

    Map<K,V> PROPERTY_NAME_TO_RUNTIME_PROPERTY

### Class com.mysql.cj.conf.EnumProperty extends com.mysql.cj.conf.AbstractRuntimeProperty<T extends Enum<T>> implements Serializable

serialVersionUID:
  -60853080911910124L

### Class com.mysql.cj.conf.EnumPropertyDefinition extends com.mysql.cj.conf.AbstractPropertyDefinition<T extends Enum<T>> implements Serializable

serialVersionUID:
  -3297521968759540444L

### Serialized Fields

#### enumType

    Class<T> enumType

### Class com.mysql.cj.conf.IntegerProperty extends com.mysql.cj.conf.AbstractRuntimeProperty<Integer> implements Serializable

serialVersionUID:
  9208223182595760858L

### Class com.mysql.cj.conf.IntegerPropertyDefinition extends com.mysql.cj.conf.AbstractPropertyDefinition<Integer> implements Serializable

serialVersionUID:
  4151893695173946081L

### Serialized Fields

#### multiplier

    int multiplier

### Class com.mysql.cj.conf.LongProperty extends com.mysql.cj.conf.AbstractRuntimeProperty<Long> implements Serializable

serialVersionUID:
  1814429804634837665L

### Class com.mysql.cj.conf.LongPropertyDefinition extends com.mysql.cj.conf.AbstractPropertyDefinition<Long> implements Serializable

serialVersionUID:
  -5264490959206230852L

### Class com.mysql.cj.conf.MemorySizeProperty extends com.mysql.cj.conf.IntegerProperty implements Serializable

serialVersionUID:
  4200558564320133284L

### Serialized Fields

#### initialValueAsString

    String initialValueAsString

#### valueAsString

    String valueAsString

### Class com.mysql.cj.conf.MemorySizePropertyDefinition extends com.mysql.cj.conf.IntegerPropertyDefinition implements Serializable

serialVersionUID:
  -6878680905514177949L

### Class com.mysql.cj.conf.StringProperty extends com.mysql.cj.conf.AbstractRuntimeProperty<String> implements Serializable

serialVersionUID:
  -4141084145739428803L

### Class com.mysql.cj.conf.StringPropertyDefinition extends com.mysql.cj.conf.AbstractPropertyDefinition<String> implements Serializable

serialVersionUID:
  8228934389127796555L

## Package com.mysql.cj.exceptions

### Class com.mysql.cj.exceptions.AssertionFailedException extends CJException implements Serializable

serialVersionUID:
  5832552608575043403L

### Class com.mysql.cj.exceptions.CJCommunicationsException extends CJException implements Serializable

serialVersionUID:
  344035358493554245L

### Class com.mysql.cj.exceptions.CJConnectionFeatureNotAvailableException extends CJCommunicationsException implements Serializable

serialVersionUID:
  -4129847384681995107L

### Class com.mysql.cj.exceptions.CJException extends RuntimeException implements Serializable

serialVersionUID:
  -8618536991444733607L

### Serialized Fields

#### exceptionMessage

    String exceptionMessage

We can't override the `Throwable.detailMessage` directly because it has a private accessibility, thus for that need we use this protected variable and override `CJException.getMessage()`

#### SQLState

    String SQLState

#### vendorCode

    int vendorCode

#### isTransient

    boolean isTransient

### Class com.mysql.cj.exceptions.CJOperationNotSupportedException extends CJException implements Serializable

serialVersionUID:
  2619184100062994443L

### Class com.mysql.cj.exceptions.CJPacketTooBigException extends CJException implements Serializable

serialVersionUID:
  7186090399276725363L

### Class com.mysql.cj.exceptions.CJTimeoutException extends CJException implements Serializable

serialVersionUID:
  -7440108828056331100L

### Class com.mysql.cj.exceptions.ClosedOnExpiredPasswordException extends CJException implements Serializable

serialVersionUID:
  -3807215681364413250L

### Class com.mysql.cj.exceptions.ConnectionIsClosedException extends CJException implements Serializable

serialVersionUID:
  -8001652264426656450L

### Class com.mysql.cj.exceptions.DataConversionException extends DataReadException implements Serializable

serialVersionUID:
  -863576663404236982L

### Class com.mysql.cj.exceptions.DataReadException extends CJException implements Serializable

serialVersionUID:
  1684265521187171525L

### Class com.mysql.cj.exceptions.DataTruncationException extends CJException implements Serializable

serialVersionUID:
  -5209088385943506720L

### Serialized Fields

#### index

    int index

#### parameter

    boolean parameter

#### read

    boolean read

#### dataSize

    int dataSize

#### transferSize

    int transferSize

### Class com.mysql.cj.exceptions.FeatureNotAvailableException extends CJException implements Serializable

serialVersionUID:
  -6649508222074639690L

### Class com.mysql.cj.exceptions.InvalidConnectionAttributeException extends CJException implements Serializable

serialVersionUID:
  -4814924499233623016L

### Class com.mysql.cj.exceptions.NumberOutOfRange extends DataReadException implements Serializable

serialVersionUID:
  -61091413023651438L

### Class com.mysql.cj.exceptions.OperationCancelledException extends CJException implements Serializable

serialVersionUID:
  9001418688349454695L

### Class com.mysql.cj.exceptions.PasswordExpiredException extends CJException implements Serializable

serialVersionUID:
  -3807215681364413250L

### Class com.mysql.cj.exceptions.PropertyNotModifiableException extends CJException implements Serializable

serialVersionUID:
  -8001652264426656450L

### Class com.mysql.cj.exceptions.RSAException extends CJException implements Serializable

serialVersionUID:
  -1878681511263159173L

### Class com.mysql.cj.exceptions.SSLParamsException extends CJException implements Serializable

serialVersionUID:
  -6597843374954727858L

### Class com.mysql.cj.exceptions.StatementIsClosedException extends CJException implements Serializable

serialVersionUID:
  -4214028635985851906L

### Class com.mysql.cj.exceptions.UnableToConnectException extends CJException implements Serializable

serialVersionUID:
  6824175447292574109L

### Class com.mysql.cj.exceptions.UnsupportedConnectionStringException extends CJException implements Serializable

serialVersionUID:
  3991597077197801820L

### Class com.mysql.cj.exceptions.WrongArgumentException extends CJException implements Serializable

serialVersionUID:
  3991597077197801820L

## Package com.mysql.cj.jdbc

### Class com.mysql.cj.jdbc.ConnectionImpl extends Object implements Serializable

serialVersionUID:
  4009476458425101761L

### Serialized Fields

#### parentProxy

    JdbcConnection parentProxy

#### topProxy

    JdbcConnection topProxy

#### realProxy

    com.mysql.cj.jdbc.ha.MultiHostConnectionProxy realProxy

#### lock

    Lock lock

#### connectionLifecycleInterceptors

    List<E> connectionLifecycleInterceptors

#### queryInfoCache

    CacheAdapter<K,V> queryInfoCache

#### database

    String database

#### session

    com.mysql.cj.NativeSession session

#### isInGlobalTx

    boolean isInGlobalTx

#### isolationLevel

    int isolationLevel

#### openStatements

    CopyOnWriteArrayList<E> openStatements

#### parsedCallableStatementCache

    LRUCache<K,V> parsedCallableStatementCache

#### parsedCallableStatementCacheLock

    Lock parsedCallableStatementCacheLock

#### password

    String password

#### props

    Properties props

#### readOnly

    boolean readOnly

#### resultSetMetadataCache

    LRUCache<K,V> resultSetMetadataCache

#### resultSetMetadataCacheLock

    Lock resultSetMetadataCacheLock

#### typeMap

    Map<K,V> typeMap

#### user

    String user

#### serverSideStatementCheckCache

    LRUCache<K,V> serverSideStatementCheckCache

#### serverSideStatementCheckCacheLock

    Lock serverSideStatementCheckCacheLock

#### serverSideStatementCache

    LRUCache<K,V> serverSideStatementCache

#### origHostInfo

    HostInfo origHostInfo

#### origHostToConnectTo

    String origHostToConnectTo

#### origPortToConnectTo

    int origPortToConnectTo

#### queryInterceptors

    List<E> queryInterceptors

#### propertySet

    JdbcPropertySet propertySet

#### autoReconnectForPools

    RuntimeProperty<T> autoReconnectForPools

#### cachePrepStmts

    RuntimeProperty<T> cachePrepStmts

#### autoReconnect

    RuntimeProperty<T> autoReconnect

#### useUsageAdvisor

    RuntimeProperty<T> useUsageAdvisor

#### reconnectAtTxEnd

    RuntimeProperty<T> reconnectAtTxEnd

#### emulateUnsupportedPstmts

    RuntimeProperty<T> emulateUnsupportedPstmts

#### ignoreNonTxTables

    RuntimeProperty<T> ignoreNonTxTables

#### pedantic

    RuntimeProperty<T> pedantic

#### prepStmtCacheSqlLimit

    RuntimeProperty<T> prepStmtCacheSqlLimit

#### useLocalSessionState

    RuntimeProperty<T> useLocalSessionState

#### useServerPrepStmts

    RuntimeProperty<T> useServerPrepStmts

#### processEscapeCodesForPrepStmts

    RuntimeProperty<T> processEscapeCodesForPrepStmts

#### useLocalTransactionState

    RuntimeProperty<T> useLocalTransactionState

#### disconnectOnExpiredPasswords

    RuntimeProperty<T> disconnectOnExpiredPasswords

#### readOnlyPropagatesToServer

    RuntimeProperty<T> readOnlyPropagatesToServer

#### nullStatementResultSetFactory

    com.mysql.cj.jdbc.result.ResultSetFactory nullStatementResultSetFactory

#### connectionSpan

    TelemetrySpan connectionSpan

#### autoIncrementIncrement

    int autoIncrementIncrement

#### exceptionInterceptor

    ExceptionInterceptor exceptionInterceptor

#### infoProvider

    ClientInfoProvider infoProvider

### Class com.mysql.cj.jdbc.JdbcPropertySetImpl extends com.mysql.cj.conf.DefaultPropertySet implements Serializable

serialVersionUID:
  -8223499903182568260L

### Class com.mysql.cj.jdbc.MysqlConnectionPoolDataSource extends com.mysql.cj.jdbc.MysqlDataSource implements Serializable

serialVersionUID:
  -7767325445592304961L

### Serialized Fields

#### lock

    Lock lock

### Class com.mysql.cj.jdbc.MysqlDataSource extends com.mysql.cj.jdbc.JdbcPropertySetImpl implements Serializable

serialVersionUID:
  -5515846944416881264L

### Serialized Fields

#### databaseName

    String databaseName

#### encoding

    String encoding

#### url

    String url

#### explicitUrl

    boolean explicitUrl

#### hostName

    String hostName

#### port

    int port

#### explicitPort

    boolean explicitPort

#### user

    String user

#### password

    String password

#### profileSQLString

    String profileSQLString

#### description

    String description

### Class com.mysql.cj.jdbc.MysqlXADataSource extends com.mysql.cj.jdbc.MysqlDataSource implements Serializable

serialVersionUID:
  7911390333152247455L

## Package com.mysql.cj.util

### Class com.mysql.cj.util.LRUCache extends LinkedHashMap<K,V> implements Serializable

serialVersionUID:
  1L

### Serialized Fields

#### maxElements

    int maxElements

## Package com.mysql.cj.xdevapi

### Class com.mysql.cj.xdevapi.DbDocImpl extends TreeMap<String,JsonValue> implements Serializable

serialVersionUID:
  6557406141541247905L

### Class com.mysql.cj.xdevapi.JsonArray extends ArrayList<JsonValue> implements Serializable

serialVersionUID:
  6557406141541247905L

### Class com.mysql.cj.xdevapi.XDevAPIError extends CJException implements Serializable

serialVersionUID:
  9102723045325569686L

Copyright © 2016, 2026, Oracle and/or its affiliates.