for(RowListener listener : listenerService.getRowListeners()) {
listener.onUpdatePost(session, oldRowDef.table(), hKey, oldRow, mergedRow);
}
WriteIndexRow indexRowBuffer = new WriteIndexRow(this);
for(TableIndex index : oldRowDef.getIndexes()) {
updateIndex(session, index, oldRowDef, currentRow, newRowDef, mergedRow, hKey, indexRowBuffer);
}
} else {
// A PK or FK field has changed. Process the update by delete and insert.