Disallow orphan removal attribute on many-to-one
It only makes sense for collections, and there is no collection here. Plus the docs do not say it is supported. See http://docs.doctrine-project.org/projects/doctrine-orm/en/latest/reference/working-with-associations.html#orphan-removal
This commit is contained in:
parent
aea970722e
commit
2a865177b9
@ -540,7 +540,6 @@
|
||||
</xs:sequence>
|
||||
<xs:attribute name="target-entity" type="xs:string" use="required" />
|
||||
<xs:attribute name="field" type="xs:NMTOKEN" use="required" />
|
||||
<xs:attribute name="orphan-removal" type="xs:boolean" default="false" />
|
||||
<xs:attribute name="fetch" type="orm:fetch-type" default="LAZY" />
|
||||
<xs:attribute name="inversed-by" type="xs:NMTOKEN" />
|
||||
<xs:anyAttribute namespace="##other"/>
|
||||
|
Loading…
x
Reference in New Issue
Block a user