return entity;
}
private void evalPks(Class<?> type, MyTable table, Entity<?> entity) {
HashMap<String, EntityField> pkmap = new HashMap<String, EntityField>();
PK pk = type.getAnnotation(PK.class);
if (null != pk) {
for (String pknm : pk.value()){
EntityField ef=entity.getField(pknm);
pkmap.put(pknm, ef);
}
}else{
List<MyField> pkFields=table.getPkFields();