this.cache.put(valueClass, null);
}
}
private void addIdFieldToCache(final Class<?> valueClass) {
ReflectionUtils.doWithFields(valueClass, new FieldCallback() {
public void doWith(Field field) throws IllegalArgumentException, IllegalAccessException {
if (field.getAnnotation(Id.class) != null) {
field.setAccessible(true);
HasJpa.this.cache.put(valueClass, field);
}