// add primary key columns to table pk if logical
field.mapPrimaryKey(adapt);
PrimaryKey pk = field.getTable().getPrimaryKey();
if (field.isPrimaryKey() && pk != null && (adapt || pk.isLogical()))
for (int i = 0; i < _cols.length; i++)
pk.addColumn(_cols[i]);
// set joinable
if (!field.getHandler().objectValueRequiresLoad(field))
for (int i = 0; i < _cols.length; i++)
field.getDefiningMapping().setJoinable(_cols[i], this);