| As far I understand one of the purpose of @MapsId is you can cascade one of the composite primary keys to a FK. This mean it should not be necessary to define generated strategy for the FK simple because the PK is cascaded. That what I'm trying to achieve with @MapsId |