Parsifal,
There are two main ways to use inheritance:

1. Single join table
2. Class per table

Both of them need a column "type" to determinate the subclass type in order 
to instantiate it. At this point was my problem, because naturally doctrine 
does not remove children but parent rows. You can read more about 
inheritance in the following link:

6. Inheritance Mapping — Doctrine 2 ORM 2.0.0 documentation 
<http://docs.doctrine-project.org/en/2.0.x/reference/inheritance-mapping.html> 



El jueves, 17 de julio de 2014 10:53:56 UTC-6, Parsifal escribió:
>
> Manfred, 
> thanks for clarification. In my domain I did not need to use inheritance 
> so I am not familiar. In Person if 'type' is anything else than 'singer' 
> what happen? It will be mapped with another table?
>  

-- 
You received this message because you are subscribed to the Google Groups 
"doctrine-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/doctrine-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to