Hi,
have a problem with Entities and inherance.
I have 3 Entities AbstractPerson, Person and Account.

AbstractPerson is abstract.

Person inherit from AbstractPerson.
An AbstractPerson can have many Accounts.
I can esaly create a Person.
The problem is that when I try to insert an Account that belongs to a
Person, i got this ERROR :

ERROR: an  insert or update instruction on the « Account » violate the
foreign key constraint « account_abstractperson_fk »
Details: The key (abstractpersonid)=(1) is not present in the table «
abstractperson ».
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to