*/
hKey.clear();
Table table = rowDef.table();
PersistitKeyAppender hKeyAppender = PersistitKeyAppender.create(hKey, table.getName());
List<Column> pkColumns = table.getPrimaryKeyIncludingInternal().getColumns();
for(HKeySegment segment : table.hKey().segments()) {
RowDef segmentRowDef = segment.table().rowDef();
hKey.append(segmentRowDef.table().getOrdinal());
for(HKeyColumn hKeyColumn : segment.columns()) {
Column column = hKeyColumn.column();
if(pkColumns.contains(column)) {