You define composite primary identifier mapping as follows:
Column(s) of primary keys can be mapped to association. They are migrated from primary keys of other tables.
For more information, see One-to-many association transformation.