The new spec by default does not allow mixed field and method access on an entity, it's mapped superclass and embedded entities. There is a way around this, if you really want to do it (check the spec).
Before, the @Entity annotation took an AccessType.FIELD or AccessType.METHOD attribute. This is no longer the case. The access type is now determined by whether you annotate the entity's @Id on the field or method. This is inherited by @Embeddable and when extending @MappedSuperclass.
Note that you can fall back to the previous behavior using @o.h.a.AccessType