if ( !propRecord.isCreated() )
{
if ( !propRecord.isChanged() )
{
propertyMap.put( propRecord.getKeyIndexId(),
new PropertyData( propRecord.getId(),
propertyGetValueOrNull( propRecord ) ) );
}
else
{
// we have to re-read committed value since property has
// changed and old value is erased in memory
PropertyRecord diskValue = getPropertyStore().getRecord( propRecord.getId() );
getPropertyStore().makeHeavy( diskValue );
propertyMap.put( diskValue.getKeyIndexId(), new PropertyData(
diskValue.getId(), propertyGetValueOrNull( diskValue ) ) );
}
}
nextProp = propRecord.getNextProp();
propRecord.setInUse( false );