Hi,
I know this is not neccessary, nut as I'm need to start modeling from an existing DB model that is giant and already in production, I need to cover this.
I did found the solution by letting subclass referencing its superclass through the SUPERTABLEID (the FK) by pointing its own.
This way I managed to get the ID in there as it should be according to the existing Database schema. The best thing ofcourse should be a redesign of the database :), and start from the domain model instead.
Regards,
Nico
|