See AccessTest. If, for example, you have @Id on a field and @OneToMany on a getter, in ORM 4, we'd throw a MappingException, rather than just quietly ignore the @OneToMany. Unless explicitly overridden by @Access, do so – it prevents surprises for users.
|