952953954955956957958959960961962
Assert.assertEquals(1, dataSource.getActiveCount()); Assert.assertEquals(0, dataSource.getErrorCount()); Exception error = null; try { stmt.closeOnCompletion(); } catch (SQLFeatureNotSupportedException e) { error = e; } Assert.assertNotNull(error);