Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
doctrine-dbal
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Tomáš Trávníček
doctrine-dbal
Commits
eff87be5
Commit
eff87be5
authored
Dec 19, 2009
by
romanb
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[2.0][DDC-207] Fixed. Also added fetch-type.
parent
d54a3ad7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
0 deletions
+24
-0
doctrine-mapping.xsd
doctrine-mapping.xsd
+24
-0
No files found.
doctrine-mapping.xsd
View file @
eff87be5
...
...
@@ -105,6 +105,13 @@
<xs:enumeration
value=
"RESTRICT"
/>
<xs:enumeration
value=
"SET_NULL"
/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType
name=
"fetch-type"
>
<xs:restriction
base=
"xs:token"
>
<xs:enumeration
value=
"EAGER"
/>
<xs:enumeration
value=
"LAZY"
/>
</xs:restriction>
</xs:simpleType>
<xs:complexType
name=
"field"
>
...
...
@@ -207,6 +214,7 @@
</xs:sequence>
<xs:attribute
name=
"target-entity"
type=
"xs:NMTOKEN"
use=
"required"
/>
<xs:attribute
name=
"field"
type=
"xs:NMTOKEN"
use=
"required"
/>
<xs:attribute
name=
"fetch"
type=
"orm:fetch-type"
default=
"LAZY"
/>
</xs:complexType>
<xs:complexType
name=
"one-to-many"
>
...
...
@@ -217,6 +225,21 @@
<xs:attribute
name=
"mapped-by"
type=
"xs:NMTOKEN"
/>
<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:complexType>
<xs:complexType
name=
"many-to-one"
>
<xs:sequence>
<xs:element
name=
"cascade"
type=
"orm:cascade-type"
minOccurs=
"0"
/>
<xs:choice
minOccurs=
"0"
maxOccurs=
"1"
>
<xs:element
name=
"join-column"
type=
"orm:join-column"
/>
<xs:element
name=
"join-columns"
type=
"orm:join-columns"
/>
</xs:choice>
</xs:sequence>
<xs:attribute
name=
"target-entity"
type=
"xs:NMTOKEN"
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:complexType>
<xs:complexType
name=
"one-to-one"
>
...
...
@@ -231,6 +254,7 @@
<xs:attribute
name=
"mapped-by"
type=
"xs:NMTOKEN"
/>
<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:complexType>
</xs:schema>
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment