Class AfterCloseLoggingComboPooledDataSource

  • All Implemented Interfaces:
    IdentityTokenized, PooledDataSource, java.io.Serializable, java.lang.AutoCloseable, java.sql.Wrapper, javax.naming.Referenceable, javax.sql.CommonDataSource, javax.sql.DataSource

    public final class AfterCloseLoggingComboPooledDataSource
    extends AbstractComboPooledDataSource
    implements java.io.Serializable, javax.naming.Referenceable

    For the meaning of most of these properties, please see c3p0's top-level documentation!

    See Also:
    Serialized Form
    • Constructor Detail

      • AfterCloseLoggingComboPooledDataSource

        public AfterCloseLoggingComboPooledDataSource()
      • AfterCloseLoggingComboPooledDataSource

        public AfterCloseLoggingComboPooledDataSource​(boolean autoregister)
      • AfterCloseLoggingComboPooledDataSource

        public AfterCloseLoggingComboPooledDataSource​(java.lang.String configName)
    • Method Detail

      • getConnection

        public java.sql.Connection getConnection()
                                          throws java.sql.SQLException
        Specified by:
        getConnection in interface javax.sql.DataSource
        Overrides:
        getConnection in class AbstractPoolBackedDataSource
        Throws:
        java.sql.SQLException
      • getConnection

        public java.sql.Connection getConnection​(java.lang.String user,
                                                 java.lang.String password)
                                          throws java.sql.SQLException
        Specified by:
        getConnection in interface javax.sql.DataSource
        Overrides:
        getConnection in class AbstractPoolBackedDataSource
        Throws:
        java.sql.SQLException