// will incorrectly rollback
while ( resources.hasMoreElements () ) {
RecoverableResource res = (RecoverableResource) resources
.nextElement ();
if ( res.recover ( this ) ) {
recovered = true;
// FOLLOWING CODE REMOVED: xid needs to be saved and read
// from external stream, or the previous recover call will fail
// with
// null exception!