Class AutoDriverDataSource

  • All Implemented Interfaces:
    java.sql.Wrapper, javax.sql.CommonDataSource, javax.sql.DataSource, DriverDataSource, Configurable, Closeable

    public class AutoDriverDataSource
    extends DBCPDriverDataSource
    Automatic Commons DBCP pooling or Simple non-pooling driver data source. If the commons-dbcp packages are on the class path, then they will be used, else it will fall back to non-DBCP mode.
    • Constructor Detail

      • AutoDriverDataSource

        public AutoDriverDataSource()
    • Method Detail

      • getConnection

        public java.sql.Connection getConnection​(java.util.Properties props)
                                          throws java.sql.SQLException
        Overrides:
        getConnection in class DBCPDriverDataSource
        Throws:
        java.sql.SQLException