Sorry, I don't use annotation, nor xml nor yaml, I am using php. I have no
idea how can I use inheritance mapping with php as there is no info in
wiki. please give a sample inheritance mapping with php, please bear with
me there is no info on wiki!
and to what should I change below? please help that it disapears as snow
for the sun! :-)
$metadata->setInheritanceType(ClassMetadataInfo::INHERITANCE_TYPE_NONE);
for other xTox mappings I use something like this:
$metadata->mapOneToMany(array( 'fieldName' => 'orders',
'targetEntity' => 'Entities\\Order',
'mappedBy' => 'client',
'joinColumns' => array( 0 => array( 'name'
=> 'client_id',
'referencedColumnName' => 'client_id',
'nullable' => true,
'columnDefinition' => NULL,
), )
));
--
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.