| In PropertyFactory#getGetter() the class of the Property object (mappingProperty.getClass()) is passed to resolvePropertyAccessStrategy, whereas it should be the type of mapped class to which the property belongs (mappingProperty.getPersistentClass().getMappedClass()). |