Inheritance. Discriminator required on abstract parent entity

Posts   
 
    
Posts: 3
Joined: 13-Jan-2020
# Posted on: 13-Jan-2020 21:10:27   

Quite a long time since I last posted. We arrived to a messy propietary database. We thought Llblgen could help us building a proper logical data model on top of the physical one (no FK, not even PK in some cases, ... flushed ) We created a Target per entity hierarchy with an abstract parent entity and two children entities. The discriminator field is a boolean where each value (true/false) is assigned to one of the children entities.

However, it gives an error on parent entity as no discriminator value is set), but none is required (is abstract) and none can be assigned (null is not valid, true/false are already taken).

Any suggestions?

TIA,

Jose

Walaa avatar
Walaa
Support Team
Posts: 14983
Joined: 21-Aug-2005
# Posted on: 13-Jan-2020 23:51:39   
Posts: 3
Joined: 13-Jan-2020
# Posted on: 14-Jan-2020 13:28:45   

Answered in original question's thread.

Walaa avatar
Walaa
Support Team
Posts: 14983
Joined: 21-Aug-2005
# Posted on: 14-Jan-2020 15:59:53   

Thanks for the feedback.