PersistenceUtilHelper.getMethod(Class<?> clazz, String attributeName) doesn't check existing of inherited methods. Does it suppose to work like this?