// if we are in a transaction: acquire locks !
TransactionImpl tx = TxManagerFactory.instance().getTransaction();
if (checkForOpenTransaction(tx))
{
tx.lock(this, Transaction.WRITE);
tx.lock(entry, Transaction.WRITE);
tx.lock(element, Transaction.READ);
entry.prepareForPersistency(tx.getBroker());
}
// changing the position markers of entries: