Right now, enhanced getter/setter are always used when a entity class is bytecode enhanced. This fails for attributes for which the access strategy is not BASIC or FIELD, for instance when a EmbeddedPK is used.