Assert.assertEquals(1, listHeuristicRolledBackTransactions.length);
System.out.println(listHeuristicRolledBackTransactions[0]);
}
session = sf.createSession(true, false, false);
Xid[] recoveredXids = session.recover(XAResource.TMSTARTRSCAN);
Assert.assertEquals(1, recoveredXids.length);
Assert.assertEquals(xid, recoveredXids[0]);
Assert.assertEquals(0, session.recover(XAResource.TMENDRSCAN).length);
session.close();