Package nxt.db.pool

Class H2ConnectionPool

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.sql.Connection getConnection()  
      void initialize​(java.lang.String dbUrl, java.lang.String dbUsername, java.lang.String dbPassword, int maxConnections, int loginTimeout)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • H2ConnectionPool

        public H2ConnectionPool()
    • Method Detail

      • initialize

        public void initialize​(java.lang.String dbUrl,
                               java.lang.String dbUsername,
                               java.lang.String dbPassword,
                               int maxConnections,
                               int loginTimeout)
        Specified by:
        initialize in interface ConnectionPool
      • getConnection

        public java.sql.Connection getConnection()
                                          throws java.sql.SQLException
        Specified by:
        getConnection in interface ConnectionPool
        Throws:
        java.sql.SQLException