int pkCounter = 0;
Field[] fs = entityType.getDeclaredFields();
for (int i = 0; i < fs.length; i++) {
PersistentAttribute fieldAT = fs[i].getAnnotation(PersistentAttribute.class);
if (fieldAT != null && fieldAT.primaryKey()) {
fs[0].setAccessible(true);
result = fs[0].getType();
if (++pkCounter > 1) {
return null;
}