// both should be prepared.
XATestUtil.showXATransactionView(conn);
Xid[] recoveredStart = xar.recover(XAResource.TMSTARTRSCAN);
System.out.println("recovered start " + recoveredStart.length);
Xid[] recovered = xar.recover(XAResource.TMNOFLAGS);
System.out.println("recovered " + recovered.length);
Xid[] recoveredEnd = xar.recover(XAResource.TMENDRSCAN);
System.out.println("recovered end " + recoveredEnd.length);
for (int i = 0; i < recoveredStart.length; i++) {