Re: Learning Vertical Inheritance

2009-12-22 Thread David Avendasora
On Dec 21, 2009, at 2:58 PM, Ren, Kevin wrote: > Hi, Dave, > Thanks for your reply, > >Yes. This is the problem with MySQL not being able to initially defer the > >constraints. If you need to use MySQL, I suggest that you remove the Foreign > >Key constraint between STUDENT and PERSON in the

Re: Learning Vertical Inheritance

2009-12-21 Thread Ren, Kevin
Hi, Dave, Thanks for your reply, >Yes. This is the problem with MySQL not being able to initially defer the >constraints. If you need to use MySQL, I suggest that you remove the Foreign >Key constraint between STUDENT and PERSON in the database and trust that EOF >will keep everything correct fo

Re: Learning Vertical Inheritance

2009-12-21 Thread David Avendasora
Hi Kevin, Yes. This is the problem with MySQL not being able to initially defer the constraints. If you need to use MySQL, I suggest that you remove the Foreign Key constraint between STUDENT and PERSON in the database and trust that EOF will keep everything correct for you. I would also sugge

Learning Vertical Inheritance

2009-12-21 Thread Kevin Xiaowen REN
Hi, All I know this is old topic, but I found something this time when try to play this "vertical inheritance" with Apple/example/SophisticatedDatabaseExample Copied from README: The SophisticatedDatabaseExample demonstrates the use of inheritance, flattening, and multiple models. The Person c