Defining Relation in items.xml in Hybris
- 1st Nov 2016
- 22
- 96483
- How relation works in hybris how to define many to many relation in items.xml in hybris how to define one to many relation in hybris How we define relation in items.xml in hybris
Relation types help us to maintain the m:n relation between 2 tables. Let’s consider 2 possible cases in relation Case 1: One to Many/Many to One One user can have any number of contacts <relation code="User2ContactInfos" generate="true" localized="false" autocreate="true"> <sourceElement type="User" cardinality="one" qualifier="user"> […]