526527528529530531532533534535536
log.info("testConnectionError"); log.info("-------------------"); tm.begin(); TestConnection c = (TestConnection)cm.allocateConnection(mcf, cri); c.fireConnectionError(); try { c.close(); } catch (Exception ignored)
562563564565566567568569570571572
// track-by-tx = true cm.setTrackConnectionByTx(true); tm.begin(); TestConnection c = (TestConnection)cm.allocateConnection(mcf, cri); c.fireConnectionError(); try { c.close(); } catch (Exception ignored)
313314315316317318319320321322323
{ log.info("testBrokenConnectionAndTrackByTx"); cm.setTrackConnectionByTx(true); ut.begin(); TestConnection c = (TestConnection)cm.allocateConnection(mcf, cri); c.fireConnectionError(); try { c.close(); } catch (Exception ignored)
527528529530531532533534535536537
563564565566567568569570571572573