// (the table is truncated, so this is just one record)
synchronized (sysSession) {
index.removeChildrenAndResources(sysSession);
table.removeChildrenAndResources(sysSession);
// the transaction must be committed immediately
sysSession.commit(false);
}
}
}
} finally {
table = null;