After examining the code in commit , we see that it is used to override the field mapping already defined in the associated superclass / tag.
Tests included in the commit demonstrate this behavior:
Mapped superclass
class User { protected $id; protected $name; protected $groups; protected $address; ... }
Subclass using @AssociationOverride
class Admin extends User { ... }
Subclass using @AttributeOverride
class Guest extends User { ... }
source share