@ Override public Connection getOrCreate ( ) throws SQLException { Connection con = DriverManager . getConnection ( this . url , this . user , this . password ) ; con . setAutoCommit ( isAutoCommitEnabled ( ) ) ; return con ; }
Creates a database connection or gets an existing connection with the JDBC URL username and password specified in the constructor .