referencingBean.set(sourceColumn.getName(), referencedBean.get(targetColumn.getName()));
bean.set(sourceColumn.getName(), identity.getColumnValue(targetColumn.getName()));
    private void updateFKColumns(DynaBean referencingBean, DynaBean referencedBean, String fkName)    {        Table      sourceTable = ((SqlDynaClass)referencingBean.getDynaClass()).getTable();        Table      targetTable = ((SqlDynaClass)referencedBean.getDynaClass()).getTable();        ForeignKey fk          = null;        for (int idx = 0; idx < sourceTable.getForeignKeyCount(); idx++)        {            ForeignKey curFk = sourceTable.getForeignKey(idx);            if (curFk.getForeignTableName().equalsIgnoreCase(targetTable.getName()))            {                if (fkName.equals(getFKName(sourceTable, curFk)))                {                    fk = curFk;                    break;                }            }        }        if (fk != null)        {            for (int idx = 0; idx < fk.getReferenceCount(); idx++)            {                Reference curRef       = fk.getReference(idx);                Column    sourceColumn = sourceTable.findColumn(curRef.getLocalColumnName());                Column    targetColumn = targetTable.findColumn(curRef.getForeignColumnName());                referencingBean.set(sourceColumn.getName(), referencedBean.get(targetColumn.getName()));            }        }    }