Jira issue originally created by user bmohammed:
when i use class table inheritance with multiple levels in doctrine :
Account<=User<=Dealer
(Dealer inherits from User, User from Account)
Account has the discriminator column and mapping.
when i persist a new Dealer entity I get a foreign key error because there is no row in the User table.
So the order in which the insert statements are executed:
- Insert into Account
- Insert into Dealer (which causes the error)
- insert into User
Can someone help me thanks in advance.