org.hibernate.property.access.spi.EnhancedGetterMethodImpl was deprecated by HHH-10511 - PluralAttribute.getPersistentAttributeType() wrong value with enhanced classes Open .