Search code examples
rdbmssap-commerce-clouddatabase-relationscardinality

How to make a one to one relation in Hybris?


I see that we can create many to many, one to many, many to one in Hybris relations but one to one. Could anybody help understand why so ?


Solution

  • Hybris doesn't allow a one-one Relation. If you need this case you can simply model just an attribute to your object. Than you have a one-one relation.

    Why Hybris doesn't allow it, I don't know exactlly. I found this description Here Hybris Relation