Hi Rishi, Benjami,
I agree, it seems like something unfinished (from pre Apache era) and I can't
see what it adds as is
Handling it at the service level seems sufficient to me. No need for an useless
and confusing definition in data model.
I'd rather add a comment there (in the data model)
Benjamin,
The base idea behind such data modeling to force business user to use the
category attribute based on category type. But it does not force at entity
level as such does not mean at all at db level.
IMO we can remove such relations from db layer as anyways we are going to
maintain such