We're upgrading from Hibernate 3.6.10 to 4.1.4. With 3.6.10 everything worked fine. With 4.1.4 I am getting:
org.hibernate.MappingException: @AuditMappedBy points to a property that doesn't exist: x.y.entity
where x.y.entity is part of a (mapped) superclass.
The error message is confusing because we are actually using @OneToMany(mappedBy = "entity") and not @AuditMappedBy.
Anyway, I would really appreciated if you could fix this.
We're upgrading from Hibernate 3.6.10 to 4.1.4.
With 3.6.10 everything worked fine.
With 4.1.4 I am getting:
org.hibernate.MappingException: @AuditMappedBy points to a property that doesn't exist: x.y.entity
where x.y.entity is part of a (mapped) superclass.
The error message is confusing because we are actually using @OneToMany(mappedBy = "entity") and not @AuditMappedBy.
Anyway, I would really appreciated if you could fix this.