@@ -205,13 +205,14 @@ private String createUrl() {
205205        getPort (), "proj" , "inst" , "db" );
206206  }
207207
208-   private  Connection  createConnection () throws  SQLException  {
208+   @ Override 
209+   protected  Connection  createJdbcConnection () throws  SQLException  {
209210    return  DriverManager .getConnection (createUrl ());
210211  }
211212
212213  @ Test 
213214  public  void  testStatementExecuteQuery () throws  SQLException  {
214-     try  (Connection  connection  = createConnection ();
215+     try  (Connection  connection  = createJdbcConnection ();
215216        Statement  statement  = connection .createStatement ()) {
216217      try  (ResultSet  resultSet  = statement .executeQuery (query )) {
217218        verifyResultSet (resultSet );
@@ -231,7 +232,7 @@ public void testStatementExecuteQuery() throws SQLException {
231232
232233  @ Test 
233234  public  void  testStatementExecuteUpdate () throws  SQLException  {
234-     try  (Connection  connection  = createConnection ();
235+     try  (Connection  connection  = createJdbcConnection ();
235236        Statement  statement  = connection .createStatement ()) {
236237      assertEquals (1 , statement .executeUpdate (dml ));
237238      assertEquals (0 , statement .executeUpdate (DDL ));
@@ -249,7 +250,7 @@ public void testStatementExecuteUpdate() throws SQLException {
249250
250251  @ Test 
251252  public  void  testStatementExecuteUpdateReturnGeneratedKeys () throws  SQLException  {
252-     try  (Connection  connection  = createConnection ();
253+     try  (Connection  connection  = createJdbcConnection ();
253254        Statement  statement  = connection .createStatement ()) {
254255      // TODO: Add tests for RETURN_GENERATED_KEYS when that is supported. 
255256      assertEquals (1 , statement .executeUpdate (dml , Statement .NO_GENERATED_KEYS ));
@@ -265,7 +266,7 @@ public void testStatementExecuteUpdateReturnGeneratedKeys() throws SQLException
265266
266267  @ Test 
267268  public  void  testStatementExecuteUpdateReturnColumnNames () throws  SQLException  {
268-     try  (Connection  connection  = createConnection ();
269+     try  (Connection  connection  = createJdbcConnection ();
269270        Statement  statement  = connection .createStatement ()) {
270271      assertEquals (1 , statement .executeUpdate (dml , new  String [] {"id" }));
271272      assertEquals (0 , statement .executeUpdate (DDL , new  String [] {"id" }));
@@ -283,7 +284,7 @@ public void testStatementExecuteUpdateReturnColumnNames() throws SQLException {
283284
284285  @ Test 
285286  public  void  testStatementExecuteUpdateReturnColumnIndexes () throws  SQLException  {
286-     try  (Connection  connection  = createConnection ();
287+     try  (Connection  connection  = createJdbcConnection ();
287288        Statement  statement  = connection .createStatement ()) {
288289      assertEquals (1 , statement .executeUpdate (dml , new  int [] {1 }));
289290      assertEquals (0 , statement .executeUpdate (DDL , new  int [] {1 }));
@@ -297,7 +298,7 @@ public void testStatementExecuteUpdateReturnColumnIndexes() throws SQLException
297298
298299  @ Test 
299300  public  void  testStatementLargeExecuteUpdate () throws  SQLException  {
300-     try  (Connection  connection  = createConnection ();
301+     try  (Connection  connection  = createJdbcConnection ();
301302        Statement  statement  = connection .createStatement ()) {
302303      assertEquals (1L , statement .executeLargeUpdate (dml ));
303304      assertEquals (0L , statement .executeLargeUpdate (DDL ));
@@ -311,7 +312,7 @@ public void testStatementLargeExecuteUpdate() throws SQLException {
311312
312313  @ Test 
313314  public  void  testStatementExecuteLargeUpdateReturnGeneratedKeys () throws  SQLException  {
314-     try  (Connection  connection  = createConnection ();
315+     try  (Connection  connection  = createJdbcConnection ();
315316        Statement  statement  = connection .createStatement ()) {
316317      // TODO: Add tests for RETURN_GENERATED_KEYS when that is supported. 
317318      assertEquals (1 , statement .executeLargeUpdate (dml , Statement .NO_GENERATED_KEYS ));
@@ -329,7 +330,7 @@ public void testStatementExecuteLargeUpdateReturnGeneratedKeys() throws SQLExcep
329330
330331  @ Test 
331332  public  void  testStatementExecuteLargeUpdateReturnColumnNames () throws  SQLException  {
332-     try  (Connection  connection  = createConnection ();
333+     try  (Connection  connection  = createJdbcConnection ();
333334        Statement  statement  = connection .createStatement ()) {
334335      assertEquals (1 , statement .executeLargeUpdate (dml , new  String [] {"id" }));
335336      assertEquals (0 , statement .executeLargeUpdate (DDL , new  String [] {"id" }));
@@ -346,7 +347,7 @@ public void testStatementExecuteLargeUpdateReturnColumnNames() throws SQLExcepti
346347
347348  @ Test 
348349  public  void  testStatementExecuteLargeUpdateReturnColumnIndexes () throws  SQLException  {
349-     try  (Connection  connection  = createConnection ();
350+     try  (Connection  connection  = createJdbcConnection ();
350351        Statement  statement  = connection .createStatement ()) {
351352      assertEquals (1 , statement .executeLargeUpdate (dml , new  int [] {1 }));
352353      assertEquals (0 , statement .executeLargeUpdate (DDL , new  int [] {1 }));
@@ -360,7 +361,7 @@ public void testStatementExecuteLargeUpdateReturnColumnIndexes() throws SQLExcep
360361
361362  @ Test 
362363  public  void  testStatementExecute () throws  SQLException  {
363-     try  (Connection  connection  = createConnection ();
364+     try  (Connection  connection  = createJdbcConnection ();
364365        Statement  statement  = connection .createStatement ()) {
365366      verifyUpdateCount (statement , () -> statement .execute (dml ), 1L );
366367      verifyUpdateCount (statement , () -> statement .execute (largeDml ), LARGE_UPDATE_COUNT );
@@ -375,7 +376,7 @@ public void testStatementExecute() throws SQLException {
375376
376377  @ Test 
377378  public  void  testStatementExecuteReturnGeneratedKeys () throws  SQLException  {
378-     try  (Connection  connection  = createConnection ();
379+     try  (Connection  connection  = createJdbcConnection ();
379380        Statement  statement  = connection .createStatement ()) {
380381      // TODO: Add tests for RETURN_GENERATED_KEYS when that is supported. 
381382      verifyUpdateCount (statement , () -> statement .execute (dml , Statement .NO_GENERATED_KEYS ), 1L );
@@ -401,7 +402,7 @@ public void testStatementExecuteReturnGeneratedKeys() throws SQLException {
401402
402403  @ Test 
403404  public  void  testStatementExecuteReturnColumnNames () throws  SQLException  {
404-     try  (Connection  connection  = createConnection ();
405+     try  (Connection  connection  = createJdbcConnection ();
405406        Statement  statement  = connection .createStatement ()) {
406407      verifyUpdateCount (statement , () -> statement .execute (dml , new  String [] {"id" }), 1L );
407408      verifyUpdateCount (
@@ -420,7 +421,7 @@ public void testStatementExecuteReturnColumnNames() throws SQLException {
420421
421422  @ Test 
422423  public  void  testStatementExecuteReturnColumnIndexes () throws  SQLException  {
423-     try  (Connection  connection  = createConnection ();
424+     try  (Connection  connection  = createJdbcConnection ();
424425        Statement  statement  = connection .createStatement ()) {
425426      verifyUpdateCount (statement , () -> statement .execute (dml , new  int [] {1 }), 1L );
426427      verifyUpdateCount (
@@ -439,7 +440,7 @@ public void testStatementExecuteReturnColumnIndexes() throws SQLException {
439440
440441  @ Test 
441442  public  void  testPreparedStatementExecuteQuery () throws  SQLException  {
442-     try  (Connection  connection  = createConnection ()) {
443+     try  (Connection  connection  = createJdbcConnection ()) {
443444      try  (ResultSet  resultSet  = connection .prepareStatement (query ).executeQuery ()) {
444445        verifyResultSet (resultSet );
445446      }
@@ -458,7 +459,7 @@ public void testPreparedStatementExecuteQuery() throws SQLException {
458459
459460  @ Test 
460461  public  void  testPreparedStatementExecuteUpdate () throws  SQLException  {
461-     try  (Connection  connection  = createConnection ()) {
462+     try  (Connection  connection  = createJdbcConnection ()) {
462463      assertEquals (1 , connection .prepareStatement (dml ).executeUpdate ());
463464      assertEquals (0 , connection .prepareStatement (DDL ).executeUpdate ());
464465      assertEquals (0 , connection .prepareStatement (clientSideUpdate ).executeUpdate ());
@@ -472,7 +473,7 @@ public void testPreparedStatementExecuteUpdate() throws SQLException {
472473
473474  @ Test 
474475  public  void  testPreparedStatementExecuteUpdateReturnGeneratedKeys () throws  SQLException  {
475-     try  (Connection  connection  = createConnection ()) {
476+     try  (Connection  connection  = createJdbcConnection ()) {
476477      // TODO: Add tests for RETURN_GENERATED_KEYS when that is supported. 
477478      assertEquals (
478479          1 , connection .prepareStatement (dml , Statement .NO_GENERATED_KEYS ).executeUpdate ());
@@ -503,7 +504,7 @@ public void testPreparedStatementExecuteUpdateReturnGeneratedKeys() throws SQLEx
503504
504505  @ Test 
505506  public  void  testPreparedStatementExecuteUpdateReturnColumnNames () throws  SQLException  {
506-     try  (Connection  connection  = createConnection ()) {
507+     try  (Connection  connection  = createJdbcConnection ()) {
507508      assertEquals (1 , connection .prepareStatement (dml , new  String [] {"id" }).executeUpdate ());
508509      assertEquals (0 , connection .prepareStatement (DDL , new  String [] {"id" }).executeUpdate ());
509510      assertEquals (
@@ -523,7 +524,7 @@ public void testPreparedStatementExecuteUpdateReturnColumnNames() throws SQLExce
523524
524525  @ Test 
525526  public  void  testPreparedStatementExecuteUpdateReturnColumnIndexes () throws  SQLException  {
526-     try  (Connection  connection  = createConnection ()) {
527+     try  (Connection  connection  = createJdbcConnection ()) {
527528      assertEquals (1 , connection .prepareStatement (dml , new  int [] {1 }).executeUpdate ());
528529      assertEquals (0 , connection .prepareStatement (DDL , new  int [] {1 }).executeUpdate ());
529530      assertEquals (0 , connection .prepareStatement (clientSideUpdate , new  int [] {1 }).executeUpdate ());
@@ -539,7 +540,7 @@ public void testPreparedStatementExecuteUpdateReturnColumnIndexes() throws SQLEx
539540
540541  @ Test 
541542  public  void  testPreparedStatementLargeExecuteUpdate () throws  SQLException  {
542-     try  (Connection  connection  = createConnection ()) {
543+     try  (Connection  connection  = createJdbcConnection ()) {
543544      assertEquals (1L , connection .prepareStatement (dml ).executeLargeUpdate ());
544545      assertEquals (0L , connection .prepareStatement (DDL ).executeLargeUpdate ());
545546      assertEquals (0L , connection .prepareStatement (clientSideUpdate ).executeLargeUpdate ());
@@ -554,7 +555,7 @@ public void testPreparedStatementLargeExecuteUpdate() throws SQLException {
554555
555556  @ Test 
556557  public  void  testPreparedStatementExecuteLargeUpdateReturnGeneratedKeys () throws  SQLException  {
557-     try  (Connection  connection  = createConnection ()) {
558+     try  (Connection  connection  = createJdbcConnection ()) {
558559      // TODO: Add tests for RETURN_GENERATED_KEYS when that is supported. 
559560      assertEquals (
560561          1 , connection .prepareStatement (dml , Statement .NO_GENERATED_KEYS ).executeLargeUpdate ());
@@ -587,7 +588,7 @@ public void testPreparedStatementExecuteLargeUpdateReturnGeneratedKeys() throws
587588
588589  @ Test 
589590  public  void  testPreparedStatementExecuteLargeUpdateReturnColumnNames () throws  SQLException  {
590-     try  (Connection  connection  = createConnection ()) {
591+     try  (Connection  connection  = createJdbcConnection ()) {
591592      assertEquals (1 , connection .prepareStatement (dml , new  String [] {"id" }).executeLargeUpdate ());
592593      assertEquals (0 , connection .prepareStatement (DDL , new  String [] {"id" }).executeLargeUpdate ());
593594      assertEquals (
@@ -612,7 +613,7 @@ public void testPreparedStatementExecuteLargeUpdateReturnColumnNames() throws SQ
612613
613614  @ Test 
614615  public  void  testPreparedStatementExecuteLargeUpdateReturnColumnIndexes () throws  SQLException  {
615-     try  (Connection  connection  = createConnection ()) {
616+     try  (Connection  connection  = createJdbcConnection ()) {
616617      assertEquals (1 , connection .prepareStatement (dml , new  int [] {1 }).executeLargeUpdate ());
617618      assertEquals (0 , connection .prepareStatement (DDL , new  int [] {1 }).executeLargeUpdate ());
618619      assertEquals (
@@ -631,7 +632,7 @@ public void testPreparedStatementExecuteLargeUpdateReturnColumnIndexes() throws
631632
632633  @ Test 
633634  public  void  testPreparedStatementExecute () throws  SQLException  {
634-     try  (Connection  connection  = createConnection ()) {
635+     try  (Connection  connection  = createJdbcConnection ()) {
635636      verifyPreparedUpdateCount (connection .prepareStatement (dml ), PreparedStatement ::execute , 1L );
636637      verifyPreparedUpdateCount (
637638          connection .prepareStatement (largeDml ), PreparedStatement ::execute , LARGE_UPDATE_COUNT );
@@ -651,7 +652,7 @@ public void testPreparedStatementExecute() throws SQLException {
651652
652653  @ Test 
653654  public  void  testPreparedStatementExecuteReturnGeneratedKeys () throws  SQLException  {
654-     try  (Connection  connection  = createConnection ()) {
655+     try  (Connection  connection  = createJdbcConnection ()) {
655656      // TODO: Add tests for RETURN_GENERATED_KEYS when that is supported. 
656657      verifyPreparedUpdateCount (
657658          connection .prepareStatement (dml , Statement .NO_GENERATED_KEYS ),
@@ -683,7 +684,7 @@ public void testPreparedStatementExecuteReturnGeneratedKeys() throws SQLExceptio
683684
684685  @ Test 
685686  public  void  testPreparedStatementExecuteReturnColumnNames () throws  SQLException  {
686-     try  (Connection  connection  = createConnection ()) {
687+     try  (Connection  connection  = createJdbcConnection ()) {
687688      verifyPreparedUpdateCount (
688689          connection .prepareStatement (dml , new  String [] {"id" }), PreparedStatement ::execute , 1L );
689690      verifyPreparedUpdateCount (
@@ -711,7 +712,7 @@ public void testPreparedStatementExecuteReturnColumnNames() throws SQLException
711712
712713  @ Test 
713714  public  void  testPreparedStatementExecuteReturnColumnIndexes () throws  SQLException  {
714-     try  (Connection  connection  = createConnection ()) {
715+     try  (Connection  connection  = createJdbcConnection ()) {
715716      verifyPreparedUpdateCount (
716717          connection .prepareStatement (dml , new  int [] {1 }), PreparedStatement ::execute , 1L );
717718      verifyPreparedUpdateCount (
0 commit comments