100% expected – field and method annotations cannot be mixed. @Id on the the id field implies that the entity is in property mode, so any annotations on methods are ignored.