if this doesn't make sense remove the test
*/
Transaction tx = odmg.newTransaction();
tx.begin();
tx.lock(child_1, Transaction.WRITE);
tx.lock(child_2, Transaction.WRITE);
tx.lock(father, Transaction.WRITE);
tx.commit();
// without running tx, should not take effect
father.setChildren(null);