public static PItem cndPk(Entity<?> en, Object[] pks) {
ValueAdaptor[] vas = new ValueAdaptor[en.getCompositePKFields().size()];
int i = 0;
for (MappingField mf : en.getCompositePKFields())
vas[i++] = mf.getAdaptor();
return new PkConditionPItem(vas, pks);
}