Connection connection2 = poolingDataSource1.getConnection();
assertEquals(POOL_SIZE -2, getPool(poolingDataSource1).inPoolSize());
connection2.createStatement();
connection2.close();
if (log.isDebugEnabled()) log.debug(" *** commit interleaved transaction");
tm.commit();
assertEquals(POOL_SIZE -1, getPool(poolingDataSource1).inPoolSize());
if (log.isDebugEnabled()) log.debug(" *** resuming transaction");
tm.resume(t1);