Class SQLiteConnectionPoolDataSource

  • All Implemented Interfaces:
    java.sql.Wrapper, javax.sql.CommonDataSource, javax.sql.ConnectionPoolDataSource, javax.sql.DataSource

    public class SQLiteConnectionPoolDataSource
    extends SQLiteDataSource
    implements javax.sql.ConnectionPoolDataSource
    • Constructor Detail

      • SQLiteConnectionPoolDataSource

        public SQLiteConnectionPoolDataSource()
        Default constructor.
      • SQLiteConnectionPoolDataSource

        public SQLiteConnectionPoolDataSource​(SQLiteConfig config)
        Creates a data source based on the provided configuration.
        Parameters:
        config - The configuration for the data source.
    • Method Detail

      • getPooledConnection

        public javax.sql.PooledConnection getPooledConnection()
                                                       throws java.sql.SQLException
        Specified by:
        getPooledConnection in interface javax.sql.ConnectionPoolDataSource
        Throws:
        java.sql.SQLException
        See Also:
        ConnectionPoolDataSource.getPooledConnection()
      • getPooledConnection

        public javax.sql.PooledConnection getPooledConnection​(java.lang.String user,
                                                              java.lang.String password)
                                                       throws java.sql.SQLException
        Specified by:
        getPooledConnection in interface javax.sql.ConnectionPoolDataSource
        Throws:
        java.sql.SQLException
        See Also:
        ConnectionPoolDataSource.getPooledConnection(java.lang.String, java.lang.String)