[DDC-2030] better way to detect class parents Created: 13/Sep/12 Updated: 13/Sep/12
|Project:||Doctrine 2 - ORM|
|Reporter:||Asmir Mustafic||Assignee:||Benjamin Eberlei|
I'm trying to detect some inheritance cases, but there is a problem.
Doctrine always uses PHP class inheritance to detect entity hierarchy, but generating entities starting from database, i have not yet any php class.
There is a better way to detect entities hierarchy? Without php classes...
The practical case is:
Even if i manualy create XML mapping files, and then i try to generate php entityes. There is the same problem. XmlDriver tries to call setDiscriminatorMap method that raises the same exception.