# Serialized Form

- ## Package org.apache.commons.dbcp2

  - ### Exception Class org.apache.commons.dbcp2.ListException

    class ListException extends Exception implements Serializable
    serialVersionUID:
      1L

    - #### Serialized Fields

      - ##### exceptionList

            List<Throwable> exceptionList

  - ### Exception Class org.apache.commons.dbcp2.SQLExceptionList

    class SQLExceptionList extends SQLException implements Serializable
    serialVersionUID:
      1L

    - #### Serialized Fields

      - ##### causeList

            List<? extends Throwable> causeList

- ## Package org.apache.commons.dbcp2.cpdsadapter

  - ### Class org.apache.commons.dbcp2.cpdsadapter.DriverAdapterCPDS

    class DriverAdapterCPDS extends Object implements Serializable
    serialVersionUID:
      -4820523787212147844L

    - #### Serialized Fields

      - ##### accessToUnderlyingConnectionAllowed

            boolean accessToUnderlyingConnectionAllowed

        Controls access to the underlying connection

      - ##### connectionProperties

            Properties connectionProperties

        Connection properties passed to JDBC Driver

      - ##### connectionString

            String connectionString

        Connection string

      - ##### description

            String description

        Description

      - ##### driver

            String driver

        Driver class name

      - ##### durationBetweenEvictionRuns

            Duration durationBetweenEvictionRuns

      - ##### getConnectionCalled

            boolean getConnectionCalled

        Whether or not getConnection has been called

      - ##### loginTimeout

            int loginTimeout

        Login TimeOut in seconds

      - ##### maxIdle

            int maxIdle

      - ##### maxPreparedStatements

            int maxPreparedStatements

      - ##### minEvictableIdleDuration

            Duration minEvictableIdleDuration

      - ##### numTestsPerEvictionRun

            int numTestsPerEvictionRun

      - ##### poolPreparedStatements

            boolean poolPreparedStatements

      - ##### userName

            String userName

        User name

      - ##### userPassword

            char[] userPassword

        User password

- ## Package org.apache.commons.dbcp2.datasources

  - ### Class org.apache.commons.dbcp2.datasources.InstanceKeyDataSource

    class InstanceKeyDataSource extends Object implements Serializable
    serialVersionUID:
      -6819270431752240878L

    - #### Serialized Fields

      - ##### dataSource

            ConnectionPoolDataSource dataSource

        Underlying source of PooledConnections

      - ##### dataSourceName

            String dataSourceName

        DataSource Name used to find the ConnectionPoolDataSource

      - ##### defaultAutoCommit

            Boolean defaultAutoCommit

      - ##### defaultBlockWhenExhausted

            boolean defaultBlockWhenExhausted

      - ##### defaultDurationBetweenEvictionRuns

            Duration defaultDurationBetweenEvictionRuns

      - ##### defaultEvictionPolicyClassName

            String defaultEvictionPolicyClassName

      - ##### defaultLifo

            boolean defaultLifo

      - ##### defaultMaxIdle

            int defaultMaxIdle

      - ##### defaultMaxTotal

            int defaultMaxTotal

      - ##### defaultMaxWaitDuration

            Duration defaultMaxWaitDuration

      - ##### defaultMinEvictableIdleDuration

            Duration defaultMinEvictableIdleDuration

      - ##### defaultMinIdle

            int defaultMinIdle

      - ##### defaultNumTestsPerEvictionRun

            int defaultNumTestsPerEvictionRun

      - ##### defaultReadOnly

            Boolean defaultReadOnly

      - ##### defaultSoftMinEvictableIdleDuration

            Duration defaultSoftMinEvictableIdleDuration

      - ##### defaultTestOnBorrow

            boolean defaultTestOnBorrow

      - ##### defaultTestOnCreate

            boolean defaultTestOnCreate

      - ##### defaultTestOnReturn

            boolean defaultTestOnReturn

      - ##### defaultTestWhileIdle

            boolean defaultTestWhileIdle

      - ##### defaultTransactionIsolation

            int defaultTransactionIsolation

      - ##### description

            String description

        Description

      - ##### getConnectionCalled

            boolean getConnectionCalled

        Guards property setters - once true, setters throw IllegalStateException

      - ##### instanceKey

            String instanceKey

        Instance key

      - ##### jndiEnvironment

            Properties jndiEnvironment

        Environment that may be used to set up a JNDI initial context.

      - ##### loginTimeoutDuration

            Duration loginTimeoutDuration

        Login Timeout

      - ##### logWriter

            PrintWriter logWriter

        Log stream

      - ##### maxConnDuration

            Duration maxConnDuration

      - ##### rollbackAfterValidation

            boolean rollbackAfterValidation

      - ##### validationQuery

            String validationQuery

      - ##### validationQueryTimeoutDuration

            Duration validationQueryTimeoutDuration

  - ### Class org.apache.commons.dbcp2.datasources.PerUserPoolDataSource

    class PerUserPoolDataSource extends InstanceKeyDataSource implements Serializable
    serialVersionUID:
      7872747993848065028L

    - #### Serialization Methods

      - ##### readObject

        private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException
        Supports Serialization interface.
        Parameters:
          `in` - a `ObjectInputStream` value
        Throws:
          `IOException` - if an error occurs
          `ClassNotFoundException` - if an error occurs

    - #### Serialized Fields

      - ##### perUserBlockWhenExhausted

            Map<String,Boolean> perUserBlockWhenExhausted

      - ##### perUserDefaultAutoCommit

            Map<String,Boolean> perUserDefaultAutoCommit

      - ##### perUserDefaultReadOnly

            Map<String,Boolean> perUserDefaultReadOnly

      - ##### perUserDefaultTransactionIsolation

            Map<String,Integer> perUserDefaultTransactionIsolation

      - ##### perUserDurationBetweenEvictionRuns

            Map<String,Duration> perUserDurationBetweenEvictionRuns

      - ##### perUserEvictionPolicyClassName

            Map<String,String> perUserEvictionPolicyClassName

      - ##### perUserLifo

            Map<String,Boolean> perUserLifo

      - ##### perUserMaxIdle

            Map<String,Integer> perUserMaxIdle

      - ##### perUserMaxTotal

            Map<String,Integer> perUserMaxTotal

      - ##### perUserMaxWaitDuration

            Map<String,Duration> perUserMaxWaitDuration

      - ##### perUserMinEvictableIdleDuration

            Map<String,Duration> perUserMinEvictableIdleDuration

      - ##### perUserMinIdle

            Map<String,Integer> perUserMinIdle

      - ##### perUserNumTestsPerEvictionRun

            Map<String,Integer> perUserNumTestsPerEvictionRun

      - ##### perUserSoftMinEvictableIdleDuration

            Map<String,Duration> perUserSoftMinEvictableIdleDuration

      - ##### perUserTestOnBorrow

            Map<String,Boolean> perUserTestOnBorrow

      - ##### perUserTestOnCreate

            Map<String,Boolean> perUserTestOnCreate

      - ##### perUserTestOnReturn

            Map<String,Boolean> perUserTestOnReturn

      - ##### perUserTestWhileIdle

            Map<String,Boolean> perUserTestWhileIdle

  - ### Class org.apache.commons.dbcp2.datasources.SharedPoolDataSource

    class SharedPoolDataSource extends InstanceKeyDataSource implements Serializable
    serialVersionUID:
      -1458539734480586454L

    - #### Serialization Methods

      - ##### readObject

        private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException
        Supports Serialization interface.
        Parameters:
          `in` - a `ObjectInputStream` value
        Throws:
          `IOException` - if an error occurs
          `ClassNotFoundException` - if an error occurs

    - #### Serialized Fields

      - ##### maxTotal

            int maxTotal