Brett Meyer edited a comment on an issue
Hibernate ORM / Bug HHH-7513
PropertyAccessException while reattachement: could not get a field value by reflection getter
Using @NaturalIdCache on an entity class having a ManyToOne relation as natural id, causes following exception when reattaching an unmodified instance:
org.hibernate.PropertyAccessException: could not get a field value by reflection getter of org.hibernate.test.naturalid.mutable.cached.A.oid
at org.hibernate.property.DirectPropertyAccessor$DirectGetter.g...