Class CloseLoggingComboPooledDataSource

  • 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 CloseLoggingComboPooledDataSource
    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

      • CloseLoggingComboPooledDataSource

        public CloseLoggingComboPooledDataSource()
      • CloseLoggingComboPooledDataSource

        public CloseLoggingComboPooledDataSource​(boolean autoregister)
      • CloseLoggingComboPooledDataSource

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

      • setCloseLogLevel

        public void setCloseLogLevel​(com.mchange.v2.log.MLevel level)
      • getCloseLogLevel

        public com.mchange.v2.log.MLevel getCloseLogLevel()
      • 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