A : parent entity
B: child entity.
Analysis code : entity
c is an attribute in B, composition one to many. , analysisCode.
whenever there is an attribute in child class which is composition,
we face sql integrity constraint violation , foreign key no parent error.
SQLIntegrityConstraintViolationException: integrity constraint violation: foreign key no parent; FK_EMS_ANALYSIS_CODE_ON_PARENT table: EMS_ANALYSIS_CODE
entity location : association in all entities listed above.
when i try to create Orgunit along with branches and save it, i get this sql integrity error, foreign key no parent