123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698 |
- <xs:schema targetNamespace="urn:nhibernate-mapping-2.2" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="urn:nhibernate-mapping-2.2" elementFormDefault="qualified" attributeFormDefault="unqualified">
- <xs:element name="any">
- <xs:complexType>
- <xs:sequence>
- <xs:element ref="meta" minOccurs="0" maxOccurs="unbounded" />
- <xs:element ref="meta-value" minOccurs="0" maxOccurs="unbounded" />
- <xs:element ref="column" maxOccurs="unbounded" />
- </xs:sequence>
- <xs:attribute name="column" type="xs:string" />
- <xs:attribute name="id-type" use="required" type="xs:string" />
- <xs:attribute name="meta-type" type="xs:string" />
- <xs:attribute name="name" use="required" type="xs:string" />
- <xs:attribute name="access" type="xs:string" />
- <xs:attribute name="insert" default="true" type="xs:boolean" />
- <xs:attribute name="update" default="true" type="xs:boolean" />
- <xs:attribute name="cascade" type="xs:string" />
- <xs:attribute name="index" type="xs:string" />
- <xs:attribute name="optimistic-lock" default="true" type="xs:boolean" />
- <xs:attribute name="lazy" default="false" type="xs:boolean" />
- <xs:attribute name="node" type="xs:string" />
- </xs:complexType>
- </xs:element>
- <xs:element name="array">
- <xs:complexType>
- <xs:sequence>
- <xs:element ref="meta" minOccurs="0" maxOccurs="unbounded" />
- <xs:element ref="subselect" minOccurs="0" />
- <xs:element ref="cache" minOccurs="0" />
- <xs:element ref="synchronize" minOccurs="0" maxOccurs="unbounded" />
- <xs:element ref="comment" minOccurs="0" />
- <xs:element ref="key" />
- <xs:choice>
- <xs:element ref="index" />
- <xs:element ref="list-index" />
- </xs:choice>
- <xs:choice>
- <xs:element ref="element" />
- <xs:element ref="one-to-many" />
- <xs:element ref="many-to-many" />
- <xs:element ref="composite-element" />
- <xs:element ref="many-to-any" />
- </xs:choice>
- <xs:element ref="loader" minOccurs="0" />
- <xs:element ref="sql-insert" minOccurs="0" />
- <xs:element ref="sql-update" minOccurs="0" />
- <xs:element ref="sql-delete" minOccurs="0" />
- <xs:element ref="sql-delete-all" minOccurs="0" />
- </xs:sequence>
- <xs:attribute name="name" use="required" type="xs:string" />
- <xs:attribute name="access" type="xs:string" />
- <xs:attribute name="table" type="xs:string" />
- <xs:attribute name="schema" type="xs:string" />
- <xs:attribute name="catalog" type="xs:string" />
- <xs:attribute name="subselect" type="xs:string" />
- <xs:attribute name="inverse" default="false" type="xs:boolean">
- </xs:attribute>
- <xs:attribute name="mutable" default="true" type="xs:boolean">
- </xs:attribute>
- <xs:attribute name="element-class" type="xs:string" />
- <xs:attribute name="cascade" type="xs:string" />
- <xs:attribute name="where" type="xs:string" />
- <xs:attribute name="batch-size" type="xs:int" />
- <xs:attribute name="outer-join" type="outerJoinStrategy">
- </xs:attribute>
- <xs:attribute name="fetch" type="collectionFetchMode">
- </xs:attribute>
- <xs:attribute name="persister" type="xs:string" />
- <xs:attribute name="collection-type" type="xs:string" />
- <xs:attribute name="check" type="xs:string" />
- <xs:attribute name="optimistic-lock" default="true" type="xs:boolean">
- </xs:attribute>
- <xs:attribute name="node" type="xs:string" />
- <xs:attribute name="embed-xml" default="true" type="xs:boolean">
- </xs:attribute>
- </xs:complexType>
- </xs:element>
- <xs:element name="bag">
- <xs:complexType>
- <xs:sequence>
- <xs:element ref="meta" minOccurs="0" maxOccurs="unbounded" />
- <xs:element ref="subselect" minOccurs="0" />
- <xs:element ref="cache" minOccurs="0" />
- <xs:element ref="synchronize" minOccurs="0" maxOccurs="unbounded" />
- <xs:element ref="comment" minOccurs="0" />
- <xs:element ref="key" />
- <xs:choice>
- <xs:element ref="element" />
- <xs:element ref="one-to-many" />
- <xs:element ref="many-to-many" />
- <xs:element ref="composite-element" />
- <xs:element ref="many-to-any" />
- </xs:choice>
- <xs:element ref="loader" minOccurs="0" />
- <xs:element ref="sql-insert" minOccurs="0" />
- <xs:element ref="sql-update" minOccurs="0" />
- <xs:element ref="sql-delete" minOccurs="0" />
- <xs:element ref="sql-delete-all" minOccurs="0" />
- <xs:element ref="filter" minOccurs="0" maxOccurs="unbounded" />
- </xs:sequence>
- <xs:attributeGroup ref="baseCollectionAttributes" />
- </xs:complexType>
- </xs:element>
- <xs:element name="cache">
- <xs:complexType>
- <xs:attribute name="usage" use="required">
- <xs:simpleType>
- <xs:restriction base="xs:string">
- <xs:enumeration value="read-only" />
- <xs:enumeration value="read-write" />
- <xs:enumeration value="nonstrict-read-write" />
- <xs:enumeration value="transactional" />
- </xs:restriction>
- </xs:simpleType>
- </xs:attribute>
- <xs:attribute name="region" type="xs:string" use="optional">
- </xs:attribute>
- <xs:attribute name="include" default="all">
- <xs:simpleType>
- <xs:restriction base="xs:string">
- <xs:enumeration value="all" />
- <xs:enumeration value="non-lazy" />
- </xs:restriction>
- </xs:simpleType>
- </xs:attribute>
- </xs:complexType>
- </xs:element>
- <xs:element name="class">
- <xs:complexType>
- <xs:sequence>
- <xs:element ref="meta" minOccurs="0" maxOccurs="unbounded" />
- <xs:element ref="subselect" minOccurs="0" />
- <xs:element ref="cache" minOccurs="0" />
- <xs:element ref="synchronize" minOccurs="0" maxOccurs="unbounded" />
- <xs:element ref="comment" minOccurs="0" />
- <xs:element ref="tuplizer" minOccurs="0" maxOccurs="unbounded" />
- <xs:choice>
- <xs:element ref="id" />
- <xs:element ref="composite-id" />
- </xs:choice>
- <xs:element ref="discriminator" minOccurs="0" />
- <xs:element ref="natural-id" minOccurs="0" />
- <xs:choice minOccurs="0">
- <xs:element ref="version" />
- <xs:element ref="timestamp" />
- </xs:choice>
- <xs:choice minOccurs="0" maxOccurs="unbounded">
- <xs:element ref="property" />
- <xs:element ref="many-to-one" />
- <xs:element ref="one-to-one" />
- <xs:element ref="component" />
- <xs:element ref="dynamic-component" />
- <xs:element ref="properties" />
- <xs:element ref="any" />
- <xs:element ref="map" />
- <xs:element ref="set" />
- <xs:element ref="list" />
- <xs:element ref="bag" />
- <xs:element ref="idbag" />
- <xs:element ref="array" />
- <xs:element ref="primitive-array" />
- </xs:choice>
- <xs:choice>
- <xs:sequence>
- <xs:element ref="join" minOccurs="0" maxOccurs="unbounded" />
- <xs:element ref="subclass" minOccurs="0" maxOccurs="unbounded" />
- </xs:sequence>
- <xs:element ref="joined-subclass" minOccurs="0" maxOccurs="unbounded" />
- <xs:element ref="union-subclass" minOccurs="0" maxOccurs="unbounded" />
- </xs:choice>
- <xs:element ref="loader" minOccurs="0" />
- <xs:element ref="sql-insert" minOccurs="0" />
- <xs:element ref="sql-update" minOccurs="0" />
- <xs:element ref="sql-delete" minOccurs="0" />
- <xs:element ref="filter" minOccurs="0" maxOccurs="unbounded" />
- <xs:element ref="resultset" minOccurs="0" maxOccurs="unbounded" />
- <xs:choice minOccurs="0" maxOccurs="unbounded">
- <xs:element ref="query" />
- <xs:element ref="sql-query" />
- </xs:choice>
- </xs:sequence>
- <xs:attribute name="entity-name" type="xs:string">
- </xs:attribute>
- <xs:attribute name="name" type="xs:string" />
- <xs:attribute name="proxy" type="xs:string" />
- <xs:attribute name="lazy" type="xs:boolean">
- </xs:attribute>
- <xs:attribute name="schema-action" type="xs:string" />
- <xs:attribute name="table" type="xs:string" />
- <xs:attribute name="schema" type="xs:string" />
- <xs:attribute name="catalog" type="xs:string" />
- <xs:attribute name="subselect" type="xs:string" />
- <xs:attribute name="discriminator-value" type="xs:string" />
- <xs:attribute name="mutable" default="true" type="xs:boolean">
- </xs:attribute>
- <xs:attribute name="abstract" type="xs:boolean">
- </xs:attribute>
- <xs:attribute name="polymorphism" default="implicit" type="polymorphismType">
- </xs:attribute>
- <xs:attribute name="where" type="xs:string" />
- <xs:attribute name="persister" type="xs:string" />
- <xs:attribute name="dynamic-update" default="false" type="xs:boolean">
- </xs:attribute>
- <xs:attribute name="dynamic-insert" default="false" type="xs:boolean">
- </xs:attribute>
- <xs:attribute name="batch-size" type="xs:int" />
- <xs:attribute name="select-before-update" default="false" type="xs:boolean">
- </xs:attribute>
- <xs:attribute name="optimistic-lock" default="version" type="optimisticLockMode">
- </xs:attribute>
- <xs:attribute name="check" type="xs:string" />
- <xs:attribute name="rowid" type="xs:string" />
- <xs:attribute name="node" type="xs:string" />
- </xs:complexType>
- </xs:element>
- <xs:element name="collection-id">
- <xs:complexType>
- <xs:sequence>
- <xs:element ref="meta" minOccurs="0" maxOccurs="unbounded" />
- <xs:element ref="column" minOccurs="0" maxOccurs="unbounded" />
- <xs:element ref="generator" />
- </xs:sequence>
- <xs:attribute name="column" use="required" type="xs:string" />
- <xs:attribute name="type" use="required" type="xs:string" />
- <xs:attribute name="length" type="xs:positiveInteger" />
- </xs:complexType>
- </xs:element>
- <xs:element name="column">
- <xs:complexType>
- <xs:sequence>
- <xs:element ref="comment" minOccurs="0" />
- </xs:sequence>
- <xs:attribute name="name" use="required" type="xs:string">
- </xs:attribute>
- <xs:attribute name="length" type="xs:positiveInteger" />
- <xs:attribute name="precision" type="xs:positiveInteger" />
- <xs:attribute name="scale" type="xs:nonNegativeInteger" />
- <xs:attribute name="not-null" type="xs:boolean">
- </xs:attribute>
- <xs:attribute name="unique" type="xs:boolean">
- </xs:attribute>
- <xs:attribute name="unique-key" type="xs:string" />
- <xs:attribute name="sql-type" type="xs:string" />
- <xs:attribute name="index" type="xs:string" />
- <xs:attribute name="check" type="xs:string" />
- <xs:attribute name="default" type="xs:string" />
- </xs:complexType>
- </xs:element>
- <xs:element name="comment">
- <xs:complexType mixed="true">
- </xs:complexType>
- </xs:element>
- <xs:element name="component">
- <xs:complexType>
- <xs:sequence>
- <xs:element ref="meta" minOccurs="0" maxOccurs="unbounded" />
- <xs:element ref="tuplizer" minOccurs="0" maxOccurs="unbounded" />
- <xs:element ref="parent" minOccurs="0" />
- <xs:choice minOccurs="0" maxOccurs="unbounded">
- <xs:element ref="property" />
- <xs:element ref="many-to-one" />
- <xs:element ref="one-to-one" />
- <xs:element ref="component" />
- <xs:element ref="dynamic-component" />
- <xs:element ref="any" />
- <xs:element ref="map" />
- <xs:element ref="set" />
- <xs:element ref="list" />
- <xs:element ref="bag" />
- <xs:element ref="idbag" />
- <xs:element ref="array" />
- <xs:element ref="primitive-array" />
- </xs:choice>
- </xs:sequence>
- <xs:attribute name="class" type="xs:string" />
- <xs:attribute name="name" use="required" type="xs:string" />
- <xs:attribute name="access" type="xs:string" />
- <xs:attribute name="unique" default="false" type="xs:boolean">
- </xs:attribute>
- <xs:attribute name="update" default="true" type="xs:boolean">
- </xs:attribute>
- <xs:attribute name="insert" default="true" type="xs:boolean">
- </xs:attribute>
- <xs:attribute name="lazy" default="false" type="xs:boolean">
- </xs:attribute>
- <xs:attribute name="optimistic-lock" default="true" type="xs:boolean">
- </xs:attribute>
- <xs:attribute name="node" type="xs:string" />
- </xs:complexType>
- </xs:element>
- <xs:element name="composite-element">
- <xs:complexType>
- <xs:sequence>
- <xs:element ref="meta" minOccurs="0" maxOccurs="unbounded" />
- <xs:element ref="parent" minOccurs="0" />
- <xs:choice minOccurs="0" maxOccurs="unbounded">
- <xs:element ref="property" />
- <xs:element ref="many-to-one" />
- <xs:element ref="any" />
- <xs:element ref="nested-composite-element" />
- </xs:choice>
- </xs:sequence>
- <xs:attribute name="class" use="required" type="xs:string" />
- <xs:attribute name="node" type="xs:string" />
- </xs:complexType>
- </xs:element>
- <xs:element name="composite-id">
- <xs:annotation>
- <xs:documentation>A composite key may be modelled by a .NET class with a property for each key column. The class must be Serializable and override equals() and hashCode()</xs:documentation>
- </xs:annotation>
- <xs:complexType>
- <xs:sequence>
- <xs:element ref="meta" minOccurs="0" maxOccurs="unbounded" />
- <xs:choice maxOccurs="unbounded">
- <xs:element ref="key-property" />
- <xs:element ref="key-many-to-one" />
- </xs:choice>
- </xs:sequence>
- <xs:attribute name="class" type="xs:string" />
- <xs:attribute name="mapped" default="false" type="xs:boolean">
- </xs:attribute>
- <xs:attribute name="name" type="xs:string" />
- <xs:attribute name="node" type="xs:string" />
- <xs:attribute name="access" type="xs:string" />
- <xs:attribute name="unsaved-value" default="undefined" type="unsavedValueType">
- </xs:attribute>
- </xs:complexType>
- </xs:element>
- <xs:element name="composite-index">
- <xs:complexType>
- <xs:sequence>
- <xs:choice maxOccurs="unbounded">
- <xs:element ref="key-property" />
- <xs:element ref="key-many-to-one" />
- </xs:choice>
- </xs:sequence>
- <xs:attribute name="class" use="required" type="xs:string" />
- </xs:complexType>
- </xs:element>
- <xs:element name="composite-map-key">
- <xs:complexType>
- <xs:sequence>
- <xs:choice maxOccurs="unbounded">
- <xs:element ref="key-property" />
- <xs:element ref="key-many-to-one" />
- </xs:choice>
- </xs:sequence>
- <xs:attribute name="class" use="required" type="xs:string" />
- </xs:complexType>
- </xs:element>
- <xs:element name="create">
- <xs:complexType mixed="true">
- </xs:complexType>
- </xs:element>
- <xs:element name="database-object">
- <xs:complexType>
- <xs:sequence>
- <xs:choice>
- <xs:element ref="definition" />
- <xs:sequence>
- <xs:element ref="create" />
- <xs:element ref="drop" />
- </xs:sequence>
- </xs:choice>
- <xs:element ref="dialect-scope" minOccurs="0" maxOccurs="unbounded" />
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="definition">
- <xs:complexType>
- <xs:sequence>
- <xs:element ref="param" minOccurs="0" maxOccurs="unbounded" />
- </xs:sequence>
- <xs:attribute name="class" use="required" type="xs:string" />
- </xs:complexType>
- </xs:element>
- <xs:element name="dialect-scope">
- <xs:complexType mixed="true">
- <xs:attribute name="name" use="required" type="xs:string" />
- </xs:complexType>
- </xs:element>
- <xs:element name="discriminator">
- <xs:complexType>
- <xs:sequence>
- <xs:choice minOccurs="0">
- <xs:element ref="column" />
- <xs:element ref="formula" />
- </xs:choice>
- </xs:sequence>
- <xs:attribute name="column" type="xs:string" />
- <xs:attribute name="formula" type="xs:string" />
- <xs:attribute name="type" default="string" type="xs:string" />
- <xs:attribute name="not-null" default="true" type="xs:boolean">
- </xs:attribute>
- <xs:attribute name="length" type="xs:positiveInteger" />
- <xs:attribute name="force" default="false" type="xs:boolean">
- </xs:attribute>
- <xs:attribute name="insert" default="true" type="xs:boolean">
- </xs:attribute>
- </xs:complexType>
- </xs:element>
- <xs:element name="drop">
- <xs:complexType mixed="true">
- </xs:complexType>
- </xs:element>
- <xs:element name="dynamic-component">
- <xs:complexType>
- <xs:sequence>
- <xs:choice minOccurs="0" maxOccurs="unbounded">
- <xs:element ref="property" />
- <xs:element ref="many-to-one" />
- <xs:element ref="one-to-one" />
- <xs:element ref="component" />
- <xs:element ref="dynamic-component" />
- <xs:element ref="any" />
- <xs:element ref="map" />
- <xs:element ref="set" />
- <xs:element ref="list" />
- <xs:element ref="bag" />
- <xs:element ref="array" />
- <xs:element ref="primitive-array" />
- </xs:choice>
- </xs:sequence>
- <xs:attribute name="name" use="required" type="xs:string" />
- <xs:attribute name="access" type="xs:string" />
- <xs:attribute name="unique" default="false" type="xs:boolean">
- </xs:attribute>
- <xs:attribute name="update" default="true" type="xs:boolean">
- </xs:attribute>
- <xs:attribute name="insert" default="true" type="xs:boolean">
- </xs:attribute>
- <xs:attribute name="optimistic-lock" default="true" type="xs:boolean">
- </xs:attribute>
- <xs:attribute name="node" type="xs:string" />
- </xs:complexType>
- </xs:element>
- <xs:element name="element">
- <xs:complexType>
- <xs:sequence>
- <xs:choice minOccurs="0" maxOccurs="unbounded">
- <xs:element ref="column" />
- <xs:element ref="formula" />
- </xs:choice>
- <xs:element ref="type" minOccurs="0" />
- </xs:sequence>
- <xs:attribute name="column" type="xs:string" />
- <xs:attribute name="node" type="xs:string" />
- <xs:attribute name="formula" type="xs:string" />
- <xs:attribute name="type" type="xs:string" />
- <xs:attribute name="length" type="xs:positiveInteger" />
- <xs:attribute name="precision" type="xs:positiveInteger" />
- <xs:attribute name="scale" type="xs:nonNegativeInteger" />
- <xs:attribute name="not-null" default="false" type="xs:boolean">
- </xs:attribute>
- <xs:attribute name="unique" default="false" type="xs:boolean">
- </xs:attribute>
- </xs:complexType>
- </xs:element>
- <xs:element name="filter">
- <xs:complexType mixed="true">
- <xs:attribute name="name" use="required" type="xs:string" />
- <xs:attribute name="condition" type="xs:string" />
- </xs:complexType>
- </xs:element>
- <xs:element name="filter-def">
- <xs:complexType mixed="true">
- <xs:choice minOccurs="0" maxOccurs="unbounded">
- <xs:element ref="filter-param" />
- </xs:choice>
- <xs:attribute name="name" use="required" type="xs:string" />
- <xs:attribute name="condition" type="xs:string" />
- <xs:attribute name="use-many-to-one" default="true" type="xs:boolean"/>
- </xs:complexType>
- </xs:element>
- <xs:element name="filter-param">
- <xs:complexType>
- <xs:attribute name="name" use="required" type="xs:string" />
- <xs:attribute name="type" use="required" type="xs:string" />
- </xs:complexType>
- </xs:element>
- <xs:element name="formula">
- <xs:complexType mixed="true">
- </xs:complexType>
- </xs:element>
- <xs:element name="generator">
- <xs:complexType>
- <xs:sequence>
- <xs:element ref="param" minOccurs="0" maxOccurs="unbounded" />
- </xs:sequence>
- <xs:attribute name="class" use="required" type="xs:string" />
- </xs:complexType>
- </xs:element>
- <xs:element name="hibernate-mapping">
- <xs:complexType>
- <xs:sequence>
- <xs:element ref="meta" minOccurs="0" maxOccurs="unbounded" />
- <xs:element ref="typedef" minOccurs="0" maxOccurs="unbounded" />
- <xs:element ref="import" minOccurs="0" maxOccurs="unbounded" />
- <xs:choice minOccurs="0" maxOccurs="unbounded">
- <xs:element ref="class" />
- <xs:element ref="subclass" />
- <xs:element ref="joined-subclass" />
- <xs:element ref="union-subclass" />
- </xs:choice>
- <xs:element ref="resultset" minOccurs="0" maxOccurs="unbounded" />
- <xs:choice minOccurs="0" maxOccurs="unbounded">
- <xs:element ref="query" />
- <xs:element ref="sql-query" />
- </xs:choice>
- <xs:element ref="filter-def" minOccurs="0" maxOccurs="unbounded" />
- <xs:element ref="database-object" minOccurs="0" maxOccurs="unbounded" />
- </xs:sequence>
- <xs:attribute name="schema" type="xs:string" />
- <xs:attribute name="catalog" type="xs:string" />
- <xs:attribute name="default-cascade" default="none" type="xs:string" />
- <xs:attribute name="default-access" default="property" type="xs:string" />
- <xs:attribute name="default-lazy" default="true" type="xs:boolean">
- </xs:attribute>
- <xs:attribute name="auto-import" default="true" type="xs:boolean">
- </xs:attribute>
- <xs:attribute name="namespace" type="xs:string" use="optional">
- <xs:annotation>
- <xs:documentation>Namespace used to find not-Fully Qualified Type Names</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="assembly" type="xs:string" use="optional">
- <xs:annotation>
- <xs:documentation>Assembly used to find not-Fully Qualified Type Names</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- </xs:complexType>
- </xs:element>
- <xs:element name="id">
- <xs:complexType>
- <xs:sequence>
- <xs:element ref="meta" minOccurs="0" maxOccurs="unbounded" />
- <xs:element ref="column" minOccurs="0" maxOccurs="unbounded" />
- <xs:element ref="type" minOccurs="0" />
- <xs:element ref="generator" minOccurs="0" />
- </xs:sequence>
- <xs:attribute name="name" type="xs:string" />
- <xs:attribute name="node" type="xs:string" />
- <xs:attribute name="access" type="xs:string" />
- <xs:attribute name="column" type="xs:string" />
- <xs:attribute name="type" type="xs:string" />
- <xs:attribute name="length" type="xs:positiveInteger" />
- <xs:attribute name="unsaved-value" type="xs:string" />
- </xs:complexType>
- </xs:element>
- <xs:element name="idbag">
- <xs:complexType>
- <xs:sequence>
- <xs:element ref="meta" minOccurs="0" maxOccurs="unbounded" />
- <xs:element ref="subselect" minOccurs="0" />
- <xs:element ref="cache" minOccurs="0" />
- <xs:element ref="synchronize" minOccurs="0" maxOccurs="unbounded" />
- <xs:element ref="comment" minOccurs="0" />
- <xs:element ref="collection-id" />
- <xs:element ref="key" />
- <xs:choice>
- <xs:element ref="element" />
- <xs:element ref="many-to-many" />
- <xs:element ref="composite-element" />
- <xs:element ref="many-to-any" />
- </xs:choice>
- <xs:element ref="loader" minOccurs="0" />
- <xs:element ref="sql-insert" minOccurs="0" />
- <xs:element ref="sql-update" minOccurs="0" />
- <xs:element ref="sql-delete" minOccurs="0" />
- <xs:element ref="sql-delete-all" minOccurs="0" />
- <xs:element ref="filter" minOccurs="0" maxOccurs="unbounded" />
- </xs:sequence>
- <xs:attributeGroup ref="baseCollectionAttributes" />
- </xs:complexType>
- </xs:element>
- <xs:element name="import">
- <xs:complexType>
- <xs:attribute name="class" use="required" type="xs:string" />
- <xs:attribute name="rename" type="xs:string" />
- </xs:complexType>
- </xs:element>
- <xs:element name="index">
- <xs:complexType>
- <xs:sequence>
- <xs:element ref="column" minOccurs="0" maxOccurs="unbounded" />
- </xs:sequence>
- <xs:attribute name="column" type="xs:string" />
- <xs:attribute name="type" type="xs:string" />
- <xs:attribute name="length" type="xs:positiveInteger" />
- </xs:complexType>
- </xs:element>
- <xs:element name="index-many-to-any">
- <xs:complexType>
- <xs:sequence>
- <xs:element ref="column" maxOccurs="unbounded" />
- </xs:sequence>
- <xs:attribute name="id-type" use="required" type="xs:string" />
- <xs:attribute name="meta-type" type="xs:string" />
- <xs:attribute name="column" type="xs:string" />
- </xs:complexType>
- </xs:element>
- <xs:element name="index-many-to-many">
- <xs:complexType>
- <xs:sequence>
- <xs:element ref="column" minOccurs="0" maxOccurs="unbounded" />
- </xs:sequence>
- <xs:attribute name="class" use="required" type="xs:string" />
- <xs:attribute name="entity-name" type="xs:string" />
- <xs:attribute name="column" type="xs:string" />
- <xs:attribute name="foreign-key" type="xs:string" />
- </xs:complexType>
- </xs:element>
- <xs:element name="join">
- <xs:complexType>
- <xs:sequence>
- <xs:element ref="subselect" minOccurs="0" />
- <xs:element ref="comment" minOccurs="0" />
- <xs:element ref="key" />
- <xs:choice minOccurs="0" maxOccurs="unbounded">
- <xs:element ref="property" />
- <xs:element ref="many-to-one" />
- <xs:element ref="component" />
- <xs:element ref="dynamic-component" />
- <xs:element ref="any" />
- <xs:element ref="map" />
- <xs:element ref="set" />
- <xs:element ref="list" />
- <xs:element ref="bag" />
- <xs:element ref="idbag" />
- <xs:element ref="array" />
- <xs:element ref="primitive-array" />
- </xs:choice>
- <xs:element ref="sql-insert" minOccurs="0" />
- <xs:element ref="sql-update" minOccurs="0" />
- <xs:element ref="sql-delete" minOccurs="0" />
- </xs:sequence>
- <xs:attribute name="table" use="required" type="xs:string" />
- <xs:attribute name="schema" type="xs:string" />
- <xs:attribute name="catalog" type="xs:string" />
- <xs:attribute name="subselect" type="xs:string" />
- <xs:attribute name="fetch" default="join">
- <xs:simpleType>
- <xs:restriction base="xs:string">
- <xs:enumeration value="join" />
- <xs:enumeration value="select" />
- </xs:restriction>
- </xs:simpleType>
- </xs:attribute>
- <xs:attribute name="inverse" default="false" type="xs:boolean">
- </xs:attribute>
- <xs:attribute name="optional" default="false" type="xs:boolean">
- </xs:attribute>
- </xs:complexType>
- </xs:element>
- <xs:element name="joined-subclass">
- <xs:complexType>
- <xs:sequence>
- <xs:element ref="meta" minOccurs="0" maxOccurs="unbounded" />
- <xs:element ref="subselect" minOccurs="0" />
- <xs:element ref="synchronize" minOccurs="0" maxOccurs="unbounded" />
- <xs:element ref="comment" minOccurs="0" />
- <xs:element ref="tuplizer" minOccurs="0" maxOccurs="unbounded" />
- <xs:element ref="key" />
- <xs:choice minOccurs="0" maxOccurs="unbounded">
- <xs:element ref="property" />
- <xs:element ref="many-to-one" />
- <xs:element ref="one-to-one" />
- <xs:element ref="component" />
- <xs:element ref="dynamic-component" />
- <xs:element ref="properties" />
- <xs:element ref="any" />
- <xs:element ref="map" />
- <xs:element ref="set" />
- <xs:element ref="list" />
- <xs:element ref="bag" />
- <xs:element ref="idbag" />
- <xs:element ref="array" />
- <xs:element ref="primitive-array" />
- </xs:choice>
- <xs:element ref="joined-subclass" minOccurs="0" maxOccurs="unbounded" />
- <xs:element ref="loader" minOccurs="0" />
- <xs:element ref="sql-insert" minOccurs="0" />
- <xs:element ref="sql-update" minOccurs="0" />
- <xs:element ref="sql-delete" minOccurs="0" />
- <xs:element ref="resultset" minOccurs="0" maxOccurs="unbounded" />
- <xs:choice minOccurs="0" maxOccurs="unbounded">
- <xs:element ref="query" />
- <xs:element ref="sql-query" />
- </xs:choice>
- </xs:sequence>
- <xs:attribute name="entity-name" type="xs:string">
- </xs:attribute>
- <xs:attribute name="name" type="xs:string" />
- <xs:attribute name="proxy" type="xs:string" />
- <xs:attribute name="table" type="xs:string" />
- <xs:attribute name="schema-action" type="xs:string" />
- <xs:attribute name="schema" type="xs:string" />
- <xs:attribute name="catalog" type="xs:string" />
- <xs:attribute name="subselect" type="xs:string" />
- <xs:attribute name="dynamic-update" default="false" type="xs:boolean">
- </xs:attribute>
- <xs:attribute name="dynamic-insert" default="false" type="xs:boolean">
- </xs:attribute>
- <xs:attribute name="select-before-update" default="false" type="xs:boolean">
- </xs:attribute>
- <xs:attribute name="extends" type="xs:string" />
- <xs:attribute name="lazy" type="xs:boolean">
- </xs:attribute>
- <xs:attribute name="abstract" type="xs:boolean">
- </xs:attribute>
- <xs:attribute name="persister" type="xs:string" />
- <xs:attribute name="check" type="xs:string" />
- <xs:attribute name="batch-size" type="xs:positiveInteger" />
- <xs:attribute name="node" type="xs:string" />
- </xs:complexType>
- </xs:element>
- <xs:element name="key">
- <xs:complexType>
- <xs:sequence>
- <xs:element ref="column" minOccurs="0" maxOccurs="unbounded" />
- </xs:sequence>
- <xs:attribute name="column" type="xs:string" />
- <xs:attribute name="property-ref" type="xs:string" />
- <xs:attribute name="foreign-key" type="xs:string" />
- <xs:attribute name="on-delete" default="noaction" type="ondelete">
- </xs:attribute>
- <xs:attribute name="not-null" type="xs:boolean">
- </xs:attribute>
- <xs:attribute name="update" type="xs:boolean">
- </xs:attribute>
- <xs:attribute name="unique" type="xs:boolean">
- </xs:attribute>
- </xs:complexType>
- </xs:element>
- <xs:element name="key-many-to-one">
- <xs:complexType>
- <xs:sequence>
- <xs:element ref="meta" minOccurs="0" maxOccurs="unbounded" />
- <xs:element ref="column" minOccurs="0" maxOccurs="unbounded" />
- </xs:sequence>
- <xs:attribute name="name" use="required" type="xs:string" />
- <xs:attribute name="access" type="xs:string" />
- <xs:attribute name="class" type="xs:string" />
- <xs:attribute name="entity-name" type="xs:string" />
- <xs:attribute name="column" type="xs:string" />
- <xs:attribute name="foreign-key" type="xs:string" />
- <xs:attribute name="lazy" type="restrictedLaziness">
- </xs:attribute>
- <xs:attribute name="not-found" default="exception" type="notFoundMode"/>
- </xs:complexType>
- </xs:element>
- <xs:element name="key-property">
- <xs:complexType>
- <xs:sequence>
- <xs:element ref="meta" minOccurs="0" maxOccurs="unbounded" />
- <xs:element ref="column" minOccurs="0" maxOccurs="unbounded" />
- <xs:element ref="type" minOccurs="0" />
- </xs:sequence>
- <xs:attribute name="name" use="required" type="xs:string" />
- <xs:attribute name="access" type="xs:string" />
- <xs:attribute name="type" type="xs:string" />
- <xs:attribute name="column" type="xs:string" />
- <xs:attribute name="length" type="xs:positiveInteger" />
- <xs:attribute name="node" type="xs:string" />
- </xs:complexType>
- </xs:element>
- <xs:element name="list">
- <xs:complexType>
- <xs:sequence>
- <xs:element ref="meta" minOccurs="0" maxOccurs="unbounded" />
- <xs:element ref="subselect" minOccurs="0" />
- <xs:element ref="cache" minOccurs="0" />
- <xs:element ref="synchronize" minOccurs="0" maxOccurs="unbounded" />
- <xs:element ref="comment" minOccurs="0" />
- <xs:element ref="key" />
- <xs:choice>
- <xs:element ref="index" />
- <xs:element ref="list-index" />
- </xs:choice>
- <xs:choice>
- <xs:element ref="element" />
- <xs:element ref="one-to-many" />
- <xs:element ref="many-to-many" />
- <xs:element ref="composite-element" />
- <xs:element ref="many-to-any" />
- </xs:choice>
- <xs:element ref="loader" minOccurs="0" />
- <xs:element ref="sql-insert" minOccurs="0" />
- <xs:element ref="sql-update" minOccurs="0" />
- <xs:element ref="sql-delete" minOccurs="0" />
- <xs:element ref="sql-delete-all" minOccurs="0" />
- <xs:element ref="filter" minOccurs="0" maxOccurs="unbounded" />
- </xs:sequence>
- <xs:attributeGroup ref="baseCollectionAttributes" />
- </xs:complexType>
- </xs:element>
- <xs:element name="list-index">
- <xs:complexType>
- <xs:sequence>
- <xs:element ref="column" minOccurs="0" />
- </xs:sequence>
- <xs:attribute name="column" type="xs:string" />
- <xs:attribute name="base" type="xs:positiveInteger" use="optional" />
- </xs:complexType>
- </xs:element>
- <xs:element name="load-collection">
- <xs:complexType>
- <xs:sequence minOccurs="0" maxOccurs="unbounded">
- <xs:element ref="return-property" />
- </xs:sequence>
- <xs:attribute name="alias" use="required" type="xs:string" />
- <xs:attribute name="role" use="required" type="xs:string" />
- <xs:attribute name="lock-mode" default="read" type="lockMode">
- </xs:attribute>
- </xs:complexType>
- </xs:element>
- <xs:element name="loader">
- <xs:complexType>
- <xs:attribute name="query-ref" use="required" type="xs:string" />
- </xs:complexType>
- </xs:element>
- <xs:element name="many-to-any">
- <xs:complexType>
- <xs:sequence>
- <xs:element ref="meta-value" minOccurs="0" maxOccurs="unbounded" />
- <xs:element ref="column" maxOccurs="unbounded" />
- </xs:sequence>
- <xs:attribute name="column" type="xs:string" />
- <xs:attribute name="id-type" use="required" type="xs:string" />
- <xs:attribute name="meta-type" type="xs:string" />
- </xs:complexType>
- </xs:element>
- <xs:element name="many-to-many">
- <xs:complexType>
- <xs:sequence>
- <xs:element ref="meta" minOccurs="0" maxOccurs="unbounded" />
- <xs:choice minOccurs="0" maxOccurs="unbounded">
- <xs:element ref="column" />
- <xs:element ref="formula" />
- </xs:choice>
- <xs:element ref="filter" minOccurs="0" maxOccurs="unbounded" />
- </xs:sequence>
- <xs:attribute name="class" type="xs:string" />
- <xs:attribute name="node" type="xs:string" />
- <xs:attribute name="embed-xml" default="true" type="xs:boolean">
- </xs:attribute>
- <xs:attribute name="entity-name" type="xs:string" />
- <xs:attribute name="column" type="xs:string" />
- <xs:attribute name="formula" type="xs:string" />
- <xs:attribute name="not-found" default="exception" type="notFoundMode">
- </xs:attribute>
- <xs:attribute name="outer-join" type="outerJoinStrategy">
- </xs:attribute>
- <xs:attribute name="fetch" type="fetchMode">
- </xs:attribute>
- <xs:attribute name="lazy" type="restrictedLaziness">
- </xs:attribute>
- <xs:attribute name="foreign-key" type="xs:string" />
- <xs:attribute name="unique" default="false" type="xs:boolean">
- </xs:attribute>
- <xs:attribute name="where" type="xs:string" />
- <xs:attribute name="order-by" type="xs:string" />
- <xs:attribute name="property-ref" type="xs:string" />
- </xs:complexType>
- </xs:element>
- <xs:element name="many-to-one">
- <xs:complexType>
- <xs:sequence>
- <xs:element ref="meta" minOccurs="0" maxOccurs="unbounded" />
- <xs:choice minOccurs="0" maxOccurs="unbounded">
- <xs:element ref="column" />
- <xs:element ref="formula" />
- </xs:choice>
- </xs:sequence>
- <xs:attribute name="name" use="required" type="xs:string" />
- <xs:attribute name="access" type="xs:string" />
- <xs:attribute name="class" type="xs:string" />
- <xs:attribute name="entity-name" type="xs:string" />
- <xs:attribute name="column" type="xs:string" />
- <xs:attribute name="not-null" type="xs:boolean">
- </xs:attribute>
- <xs:attribute name="unique" default="false" type="xs:boolean">
- </xs:attribute>
- <xs:attribute name="unique-key" type="xs:string" />
- <xs:attribute name="index" type="xs:string" />
- <xs:attribute name="cascade" type="xs:string" />
- <xs:attribute name="outer-join" type="outerJoinStrategy">
- </xs:attribute>
- <xs:attribute name="fetch" type="fetchMode">
- </xs:attribute>
- <xs:attribute name="update" default="true" type="xs:boolean">
- </xs:attribute>
- <xs:attribute name="insert" default="true" type="xs:boolean">
- </xs:attribute>
- <xs:attribute name="optimistic-lock" default="true" type="xs:boolean">
- </xs:attribute>
- <xs:attribute name="foreign-key" type="xs:string" />
- <xs:attribute name="property-ref" type="xs:string" />
- <xs:attribute name="formula" type="xs:string" />
- <xs:attribute name="lazy" type="laziness">
- </xs:attribute>
- <xs:attribute name="not-found" default="exception" type="notFoundMode">
- </xs:attribute>
- <xs:attribute name="node" type="xs:string" />
- <xs:attribute name="embed-xml" default="true" type="xs:boolean">
- </xs:attribute>
- </xs:complexType>
- </xs:element>
- <xs:element name="map">
- <xs:complexType>
- <xs:sequence>
- <xs:element ref="meta" minOccurs="0" maxOccurs="unbounded" />
- <xs:element ref="subselect" minOccurs="0" />
- <xs:element ref="cache" minOccurs="0" />
- <xs:element ref="synchronize" minOccurs="0" maxOccurs="unbounded" />
- <xs:element ref="comment" minOccurs="0" />
- <xs:element ref="key" />
- <xs:choice>
- <xs:element ref="map-key" />
- <xs:element ref="composite-map-key" />
- <xs:element ref="map-key-many-to-many" />
- <xs:element ref="index" />
- <xs:element ref="composite-index" />
- <xs:element ref="index-many-to-many" />
- <xs:element ref="index-many-to-any" />
- </xs:choice>
- <xs:choice>
- <xs:element ref="element" />
- <xs:element ref="one-to-many" />
- <xs:element ref="many-to-many" />
- <xs:element ref="composite-element" />
- <xs:element ref="many-to-any" />
- </xs:choice>
- <xs:element ref="loader" minOccurs="0" />
- <xs:element ref="sql-insert" minOccurs="0" />
- <xs:element ref="sql-update" minOccurs="0" />
- <xs:element ref="sql-delete" minOccurs="0" />
- <xs:element ref="sql-delete-all" minOccurs="0" />
- <xs:element ref="filter" minOccurs="0" maxOccurs="unbounded" />
- </xs:sequence>
- <xs:attributeGroup ref="baseCollectionAttributes" />
- <xs:attribute name="sort" type="xs:string" />
- </xs:complexType>
- </xs:element>
- <xs:element name="map-key">
- <xs:complexType>
- <xs:sequence>
- <xs:choice minOccurs="0" maxOccurs="unbounded">
- <xs:element ref="column" />
- <xs:element ref="formula" />
- </xs:choice>
- </xs:sequence>
- <xs:attribute name="column" type="xs:string" />
- <xs:attribute name="formula" type="xs:string" />
- <xs:attribute name="type" use="required" type="xs:string" />
- <xs:attribute name="length" type="xs:positiveInteger" />
- <xs:attribute name="node" type="xs:string" />
- </xs:complexType>
- </xs:element>
- <xs:element name="map-key-many-to-many">
- <xs:complexType>
- <xs:sequence>
- <xs:choice minOccurs="0" maxOccurs="unbounded">
- <xs:element ref="column" />
- <xs:element ref="formula" />
- </xs:choice>
- </xs:sequence>
- <xs:attribute name="class" type="xs:string" />
- <xs:attribute name="entity-name" type="xs:string" />
- <xs:attribute name="column" type="xs:string" />
- <xs:attribute name="formula" type="xs:string" />
- <xs:attribute name="foreign-key" type="xs:string" />
- </xs:complexType>
- </xs:element>
- <xs:element name="meta">
- <xs:complexType mixed="true">
- <xs:attribute name="attribute" use="required" type="xs:string" />
- <xs:attribute name="inherit" default="true" type="xs:boolean" />
- </xs:complexType>
- </xs:element>
- <xs:element name="meta-value">
- <xs:complexType>
- <xs:attribute name="value" use="required" type="xs:string" />
- <xs:attribute name="class" use="required" type="xs:string" />
- </xs:complexType>
- </xs:element>
- <xs:element name="natural-id">
- <xs:complexType>
- <xs:sequence>
- <xs:choice minOccurs="0" maxOccurs="unbounded">
- <xs:element ref="property" />
- <xs:element ref="many-to-one" />
- <xs:element ref="component" />
- <xs:element ref="dynamic-component" />
- <xs:element ref="any" />
- </xs:choice>
- </xs:sequence>
- <xs:attribute name="mutable" default="false" type="xs:boolean">
- </xs:attribute>
- </xs:complexType>
- </xs:element>
- <xs:element name="nested-composite-element">
- <xs:complexType>
- <xs:sequence>
- <xs:element ref="parent" minOccurs="0" />
- <xs:choice minOccurs="0" maxOccurs="unbounded">
- <xs:element ref="property" />
- <xs:element ref="many-to-one" />
- <xs:element ref="any" />
- <xs:element ref="nested-composite-element" />
- </xs:choice>
- </xs:sequence>
- <xs:attribute name="class" use="required" type="xs:string" />
- <xs:attribute name="name" use="required" type="xs:string" />
- <xs:attribute name="access" type="xs:string" />
- <xs:attribute name="node" type="xs:string" />
- </xs:complexType>
- </xs:element>
- <xs:element name="one-to-many">
- <xs:complexType>
- <xs:attribute name="class" type="xs:string" />
- <xs:attribute name="not-found" default="exception" type="notFoundMode">
- </xs:attribute>
- <xs:attribute name="node" type="xs:string" />
- <xs:attribute name="embed-xml" default="true" type="xs:boolean">
- </xs:attribute>
- <xs:attribute name="entity-name" type="xs:string" />
- </xs:complexType>
- </xs:element>
- <xs:element name="one-to-one">
- <xs:complexType>
- <xs:sequence>
- <xs:element ref="meta" minOccurs="0" maxOccurs="unbounded" />
- <xs:element ref="formula" minOccurs="0" maxOccurs="unbounded" />
- </xs:sequence>
- <xs:attribute name="name" use="required" type="xs:string" />
- <xs:attribute name="formula" type="xs:string" />
- <xs:attribute name="access" type="xs:string" />
- <xs:attribute name="class" type="xs:string" />
- <xs:attribute name="entity-name" type="xs:string" />
- <xs:attribute name="cascade" type="xs:string" />
- <xs:attribute name="outer-join" type="outerJoinStrategy">
- </xs:attribute>
- <xs:attribute name="fetch" type="fetchMode">
- </xs:attribute>
- <xs:attribute name="constrained" default="false" type="xs:boolean">
- </xs:attribute>
- <xs:attribute name="foreign-key" type="xs:string" />
- <xs:attribute name="property-ref" type="xs:string" />
- <xs:attribute name="lazy" type="laziness">
- </xs:attribute>
- <xs:attribute name="node" type="xs:string" />
- <xs:attribute name="embed-xml" default="true" type="xs:boolean">
- </xs:attribute>
- </xs:complexType>
- </xs:element>
- <xs:element name="param">
- <xs:complexType mixed="true">
- <xs:attribute name="name" use="required" type="xs:string" />
- </xs:complexType>
- </xs:element>
- <xs:element name="parent">
- <xs:complexType>
- <xs:attribute name="name" use="required" type="xs:string" />
- <xs:attribute name="access" type="xs:string" />
- </xs:complexType>
- </xs:element>
- <xs:element name="primitive-array">
- <xs:complexType>
- <xs:sequence>
- <xs:element ref="meta" minOccurs="0" maxOccurs="unbounded" />
- <xs:element ref="subselect" minOccurs="0" />
- <xs:element ref="cache" minOccurs="0" />
- <xs:element ref="synchronize" minOccurs="0" maxOccurs="unbounded" />
- <xs:element ref="comment" minOccurs="0" />
- <xs:element ref="key" />
- <xs:choice>
- <xs:element ref="index" />
- <xs:element ref="list-index" />
- </xs:choice>
- <xs:element ref="element" />
- <xs:element ref="loader" minOccurs="0" />
- <xs:element ref="sql-insert" minOccurs="0" />
- <xs:element ref="sql-update" minOccurs="0" />
- <xs:element ref="sql-delete" minOccurs="0" />
- <xs:element ref="sql-delete-all" minOccurs="0" />
- </xs:sequence>
- <xs:attribute name="name" use="required" type="xs:string">
- </xs:attribute>
- <xs:attribute name="access" type="xs:string" />
- <xs:attribute name="table" type="xs:string" />
- <xs:attribute name="schema" type="xs:string" />
- <xs:attribute name="catalog" type="xs:string" />
- <xs:attribute name="subselect" type="xs:string" />
- <xs:attribute name="mutable" default="true" type="xs:boolean">
- </xs:attribute>
- <xs:attribute name="where" type="xs:string" />
- <xs:attribute name="batch-size" type="xs:positiveInteger" />
- <xs:attribute name="outer-join">
- <xs:simpleType>
- <xs:restriction base="xs:string">
- <xs:enumeration value="true" />
- <xs:enumeration value="false" />
- <xs:enumeration value="auto" />
- </xs:restriction>
- </xs:simpleType>
- </xs:attribute>
- <xs:attribute name="fetch">
- <xs:simpleType>
- <xs:restriction base="xs:string">
- <xs:enumeration value="join" />
- <xs:enumeration value="select" />
- <xs:enumeration value="subselect" />
- </xs:restriction>
- </xs:simpleType>
- </xs:attribute>
- <xs:attribute name="persister" type="xs:string" />
- <xs:attribute name="collection-type" type="xs:string" />
- <xs:attribute name="check" type="xs:string" />
- <xs:attribute name="optimistic-lock" default="true" type="xs:boolean">
- </xs:attribute>
- <xs:attribute name="node" type="xs:string" />
- <xs:attribute name="embed-xml" default="true" type="xs:boolean">
- </xs:attribute>
- </xs:complexType>
- </xs:element>
- <xs:element name="properties">
- <xs:complexType>
- <xs:sequence>
- <xs:choice minOccurs="0" maxOccurs="unbounded">
- <xs:element ref="property" />
- <xs:element ref="many-to-one" />
- <xs:element ref="component" />
- <xs:element ref="dynamic-component" />
- </xs:choice>
- </xs:sequence>
- <xs:attribute name="name" use="required" type="xs:string" />
- <xs:attribute name="unique" default="false" type="xs:boolean">
- </xs:attribute>
- <xs:attribute name="insert" default="true" type="xs:boolean">
- </xs:attribute>
- <xs:attribute name="update" default="true" type="xs:boolean">
- </xs:attribute>
- <xs:attribute name="optimistic-lock" default="true" type="xs:boolean">
- </xs:attribute>
- <xs:attribute name="node" type="xs:string" />
- </xs:complexType>
- </xs:element>
- <xs:element name="property">
- <xs:complexType>
- <xs:sequence>
- <xs:element ref="meta" minOccurs="0" maxOccurs="unbounded" />
- <xs:choice minOccurs="0" maxOccurs="unbounded">
- <xs:element ref="column" />
- <xs:element ref="formula" />
- </xs:choice>
- <xs:element ref="type" minOccurs="0" />
- </xs:sequence>
- <xs:attribute name="name" use="required" type="xs:string" />
- <xs:attribute name="node" type="xs:string" />
- <xs:attribute name="access" type="xs:string" />
- <xs:attribute name="type" type="xs:string" />
- <xs:attribute name="column" type="xs:string" />
- <xs:attribute name="length" type="xs:positiveInteger" />
- <xs:attribute name="precision" type="xs:positiveInteger" />
- <xs:attribute name="scale" type="xs:nonNegativeInteger" />
- <xs:attribute name="not-null" type="xs:boolean">
- </xs:attribute>
- <xs:attribute name="unique" default="false" type="xs:boolean">
- </xs:attribute>
- <xs:attribute name="unique-key" type="xs:string" />
- <xs:attribute name="index" type="xs:string" />
- <xs:attribute name="update" type="xs:boolean">
- </xs:attribute>
- <xs:attribute name="insert" type="xs:boolean">
- </xs:attribute>
- <xs:attribute name="optimistic-lock" default="true" type="xs:boolean">
- </xs:attribute>
- <xs:attribute name="formula" type="xs:string" />
- <xs:attribute name="lazy" default="false" type="xs:boolean">
- </xs:attribute>
- <xs:attribute name="generated" default="never" type="propertyGeneration">
- </xs:attribute>
- </xs:complexType>
- </xs:element>
- <xs:element name="query">
- <xs:complexType mixed="true">
- <xs:choice minOccurs="0" maxOccurs="unbounded">
- <xs:element ref="query-param" />
- </xs:choice>
- <xs:attribute name="name" use="required" type="xs:string" />
- <xs:attribute name="flush-mode" type="flushMode">
- </xs:attribute>
- <xs:attribute name="cacheable" default="false" type="xs:boolean">
- </xs:attribute>
- <xs:attribute name="cache-region" type="xs:string" />
- <xs:attribute name="fetch-size" type="xs:int" />
- <xs:attribute name="timeout" type="xs:positiveInteger" />
- <xs:attribute name="cache-mode" type="cacheMode">
- </xs:attribute>
- <xs:attribute name="read-only" type="xs:boolean">
- </xs:attribute>
- <xs:attribute name="comment" type="xs:string" />
- </xs:complexType>
- </xs:element>
- <xs:element name="query-param">
- <xs:complexType>
- <xs:attribute name="name" use="required" type="xs:string" />
- <xs:attribute name="type" use="required" type="xs:string" />
- </xs:complexType>
- </xs:element>
- <xs:element name="resultset">
- <xs:complexType>
- <xs:choice minOccurs="0" maxOccurs="unbounded">
- <xs:element ref="return-scalar" />
- <xs:element ref="return" />
- <xs:element ref="return-join" />
- <xs:element ref="load-collection" />
- </xs:choice>
- <xs:attribute name="name" use="required" type="xs:string" />
- </xs:complexType>
- </xs:element>
- <xs:element name="return">
- <xs:complexType>
- <xs:sequence>
- <xs:element ref="return-discriminator" minOccurs="0" maxOccurs="1" />
- <xs:element ref="return-property" minOccurs="0" maxOccurs="unbounded" />
- </xs:sequence>
- <xs:attribute name="alias" type="xs:string" />
- <xs:attribute name="entity-name" type="xs:string" />
- <xs:attribute name="class" type="xs:string" />
- <xs:attribute name="lock-mode" default="read" type="lockMode">
- </xs:attribute>
- </xs:complexType>
- </xs:element>
- <xs:element name="return-column">
- <xs:complexType>
- <xs:attribute name="name" use="required" type="xs:string" />
- </xs:complexType>
- </xs:element>
- <xs:element name="return-discriminator">
- <xs:complexType>
- <xs:attribute name="column" use="required" type="xs:string" />
- </xs:complexType>
- </xs:element>
- <xs:element name="return-join">
- <xs:complexType>
- <xs:sequence minOccurs="0" maxOccurs="unbounded">
- <xs:element ref="return-property" />
- </xs:sequence>
- <xs:attribute name="alias" use="required" type="xs:string" />
- <xs:attribute name="property" use="required" type="xs:string" />
- <xs:attribute name="lock-mode" default="read" type="lockMode">
- </xs:attribute>
- </xs:complexType>
- </xs:element>
- <xs:element name="return-property">
- <xs:complexType>
- <xs:sequence>
- <xs:element ref="return-column" minOccurs="0" maxOccurs="unbounded" />
- </xs:sequence>
- <xs:attribute name="name" use="required" type="xs:string" />
- <xs:attribute name="column" type="xs:string" />
- </xs:complexType>
- </xs:element>
- <xs:element name="return-scalar">
- <xs:complexType>
- <xs:attribute name="column" use="required" type="xs:string" />
- <xs:attribute name="type" type="xs:string" />
- </xs:complexType>
- </xs:element>
- <xs:element name="set">
- <xs:complexType>
- <xs:sequence>
- <xs:element ref="meta" minOccurs="0" maxOccurs="unbounded" />
- <xs:element ref="subselect" minOccurs="0" />
- <xs:element ref="cache" minOccurs="0" />
- <xs:element ref="synchronize" minOccurs="0" maxOccurs="unbounded" />
- <xs:element ref="comment" minOccurs="0" />
- <xs:element ref="key" />
- <xs:choice>
- <xs:element ref="element" />
- <xs:element ref="one-to-many" />
- <xs:element ref="many-to-many" />
- <xs:element ref="composite-element" />
- <xs:element ref="many-to-any" />
- </xs:choice>
- <xs:element ref="loader" minOccurs="0" />
- <xs:element ref="sql-insert" minOccurs="0" />
- <xs:element ref="sql-update" minOccurs="0" />
- <xs:element ref="sql-delete" minOccurs="0" />
- <xs:element ref="sql-delete-all" minOccurs="0" />
- <xs:element ref="filter" minOccurs="0" maxOccurs="unbounded" />
- </xs:sequence>
- <xs:attributeGroup ref="baseCollectionAttributes" />
- <xs:attribute name="sort" type="xs:string" />
- </xs:complexType>
- </xs:element>
- <xs:element name="sql-delete" type="customSQL">
- </xs:element>
- <xs:element name="sql-delete-all" type="customSQL">
- </xs:element>
- <xs:element name="sql-insert" type="customSQL">
- </xs:element>
- <xs:element name="sql-query">
- <xs:complexType mixed="true">
- <xs:choice minOccurs="0" maxOccurs="unbounded">
- <xs:element ref="return-scalar" />
- <xs:element ref="return" />
- <xs:element ref="return-join" />
- <xs:element ref="load-collection" />
- <xs:element ref="synchronize" />
- <xs:element ref="query-param" />
- </xs:choice>
- <xs:attribute name="name" use="required" type="xs:string" />
- <xs:attribute name="resultset-ref" type="xs:string" />
- <xs:attribute name="flush-mode" type="flushMode">
- </xs:attribute>
- <xs:attribute name="cacheable" default="false" type="xs:boolean">
- </xs:attribute>
- <xs:attribute name="cache-region" type="xs:string" />
- <xs:attribute name="fetch-size" type="xs:int" />
- <xs:attribute name="timeout" type="xs:positiveInteger" />
- <xs:attribute name="cache-mode" type="cacheMode">
- </xs:attribute>
- <xs:attribute name="read-only" type="xs:boolean">
- </xs:attribute>
- <xs:attribute name="comment" type="xs:string" />
- <xs:attribute name="callable" default="false" type="xs:boolean">
- </xs:attribute>
- </xs:complexType>
- </xs:element>
- <xs:element name="sql-update" type="customSQL">
- </xs:element>
- <xs:element name="subclass">
- <xs:complexType>
- <xs:sequence>
- <xs:element ref="meta" minOccurs="0" maxOccurs="unbounded" />
- <xs:element ref="tuplizer" minOccurs="0" maxOccurs="unbounded" />
- <xs:element ref="synchronize" minOccurs="0" maxOccurs="unbounded" />
- <xs:choice minOccurs="0" maxOccurs="unbounded">
- <xs:element ref="property" />
- <xs:element ref="many-to-one" />
- <xs:element ref="one-to-one" />
- <xs:element ref="component" />
- <xs:element ref="dynamic-component" />
- <xs:element ref="properties" />
- <xs:element ref="any" />
- <xs:element ref="map" />
- <xs:element ref="set" />
- <xs:element ref="list" />
- <xs:element ref="bag" />
- <xs:element ref="idbag" />
- <xs:element ref="array" />
- <xs:element ref="primitive-array" />
- </xs:choice>
- <xs:element ref="join" minOccurs="0" maxOccurs="unbounded" />
- <xs:element ref="subclass" minOccurs="0" maxOccurs="unbounded" />
- <xs:element ref="loader" minOccurs="0" />
- <xs:element ref="sql-insert" minOccurs="0" />
- <xs:element ref="sql-update" minOccurs="0" />
- <xs:element ref="sql-delete" minOccurs="0" />
- <xs:element ref="resultset" minOccurs="0" maxOccurs="unbounded" />
- <xs:choice minOccurs="0" maxOccurs="unbounded">
- <xs:element ref="query" />
- <xs:element ref="sql-query" />
- </xs:choice>
- </xs:sequence>
- <xs:attribute name="entity-name" type="xs:string" />
- <xs:attribute name="name" type="xs:string" />
- <xs:attribute name="proxy" type="xs:string" />
- <xs:attribute name="discriminator-value" type="xs:string" />
- <xs:attribute name="dynamic-update" default="false" type="xs:boolean">
- </xs:attribute>
- <xs:attribute name="dynamic-insert" default="false" type="xs:boolean">
- </xs:attribute>
- <xs:attribute name="select-before-update" default="false" type="xs:boolean">
- </xs:attribute>
- <xs:attribute name="extends" type="xs:string" />
- <xs:attribute name="lazy" type="xs:boolean">
- </xs:attribute>
- <xs:attribute name="abstract" type="xs:boolean">
- </xs:attribute>
- <xs:attribute name="persister" type="xs:string" />
- <xs:attribute name="batch-size" type="xs:positiveInteger" />
- <xs:attribute name="node" type="xs:string" />
- </xs:complexType>
- </xs:element>
- <xs:element name="subselect">
- <xs:complexType mixed="true">
- </xs:complexType>
- </xs:element>
- <xs:element name="synchronize">
- <xs:complexType>
- <xs:attribute name="table" use="required" type="xs:string" />
- </xs:complexType>
- </xs:element>
- <xs:element name="timestamp">
- <xs:complexType>
- <xs:sequence>
- <xs:element ref="meta" minOccurs="0" maxOccurs="unbounded" />
- </xs:sequence>
- <xs:attribute name="name" use="required" type="xs:string" />
- <xs:attribute name="node" type="xs:string" />
- <xs:attribute name="column" type="xs:string" />
- <xs:attribute name="access" type="xs:string" />
- <xs:attribute name="unsaved-value">
- <xs:simpleType>
- <xs:restriction base="xs:string">
- <xs:enumeration value="null" />
- <xs:enumeration value="undefined" />
- </xs:restriction>
- </xs:simpleType>
- </xs:attribute>
- <xs:attribute name="source" default="vm">
- <xs:simpleType>
- <xs:restriction base="xs:string">
- <xs:enumeration value="vm" />
- <xs:enumeration value="db" />
- </xs:restriction>
- </xs:simpleType>
- </xs:attribute>
- <xs:attribute name="generated" default="never" type="versionGeneration">
- </xs:attribute>
- </xs:complexType>
- </xs:element>
- <xs:element name="tuplizer">
- <xs:complexType>
- <xs:attribute name="entity-mode">
- <xs:simpleType>
- <xs:restriction base="xs:string">
- <xs:enumeration value="poco" />
- <xs:enumeration value="xml" />
- <xs:enumeration value="dynamic-map" />
- </xs:restriction>
- </xs:simpleType>
- </xs:attribute>
- <xs:attribute name="class" use="required" type="xs:string" />
- </xs:complexType>
- </xs:element>
- <xs:element name="type">
- <xs:complexType>
- <xs:sequence>
- <xs:element ref="param" minOccurs="0" maxOccurs="unbounded" />
- </xs:sequence>
- <xs:attribute name="name" use="required" type="xs:string" />
- </xs:complexType>
- </xs:element>
- <xs:element name="typedef">
- <xs:complexType>
- <xs:sequence>
- <xs:element ref="param" minOccurs="0" maxOccurs="unbounded" />
- </xs:sequence>
- <xs:attribute name="class" use="required" type="xs:string" />
- <xs:attribute name="name" use="required" type="xs:string" />
- </xs:complexType>
- </xs:element>
- <xs:element name="union-subclass">
- <xs:complexType>
- <xs:sequence>
- <xs:element ref="meta" minOccurs="0" maxOccurs="unbounded" />
- <xs:element ref="subselect" minOccurs="0" />
- <xs:element ref="synchronize" minOccurs="0" maxOccurs="unbounded" />
- <xs:element ref="comment" minOccurs="0" />
- <xs:element ref="tuplizer" minOccurs="0" maxOccurs="unbounded" />
- <xs:choice minOccurs="0" maxOccurs="unbounded">
- <xs:element ref="property" />
- <xs:element ref="many-to-one" />
- <xs:element ref="one-to-one" />
- <xs:element ref="component" />
- <xs:element ref="dynamic-component" />
- <xs:element ref="properties" />
- <xs:element ref="any" />
- <xs:element ref="map" />
- <xs:element ref="set" />
- <xs:element ref="list" />
- <xs:element ref="bag" />
- <xs:element ref="idbag" />
- <xs:element ref="array" />
- <xs:element ref="primitive-array" />
- </xs:choice>
- <xs:element ref="union-subclass" minOccurs="0" maxOccurs="unbounded" />
- <xs:element ref="loader" minOccurs="0" />
- <xs:element ref="sql-insert" minOccurs="0" />
- <xs:element ref="sql-update" minOccurs="0" />
- <xs:element ref="sql-delete" minOccurs="0" />
- <xs:element ref="resultset" minOccurs="0" maxOccurs="unbounded" />
- <xs:choice minOccurs="0" maxOccurs="unbounded">
- <xs:element ref="query" />
- <xs:element ref="sql-query" />
- </xs:choice>
- </xs:sequence>
- <xs:attribute name="entity-name" type="xs:string" />
- <xs:attribute name="name" type="xs:string" />
- <xs:attribute name="proxy" type="xs:string" />
- <xs:attribute name="table" type="xs:string" />
- <xs:attribute name="schema" type="xs:string" />
- <xs:attribute name="catalog" type="xs:string" />
- <xs:attribute name="subselect" type="xs:string" />
- <xs:attribute name="dynamic-update" default="false" type="xs:boolean">
- </xs:attribute>
- <xs:attribute name="dynamic-insert" default="false" type="xs:boolean">
- </xs:attribute>
- <xs:attribute name="select-before-update" default="false" type="xs:boolean">
- </xs:attribute>
- <xs:attribute name="extends" type="xs:string" />
- <xs:attribute name="lazy" type="xs:boolean">
- </xs:attribute>
- <xs:attribute name="abstract" type="xs:boolean">
- </xs:attribute>
- <xs:attribute name="persister" type="xs:string" />
- <xs:attribute name="check" type="xs:string" />
- <xs:attribute name="batch-size" type="xs:positiveInteger" />
- <xs:attribute name="node" type="xs:string" />
- </xs:complexType>
- </xs:element>
- <xs:element name="version">
- <xs:complexType>
- <xs:sequence>
- <xs:element ref="meta" minOccurs="0" maxOccurs="unbounded" />
- <xs:element ref="column" minOccurs="0" maxOccurs="unbounded" />
- </xs:sequence>
- <xs:attribute name="name" use="required" type="xs:string" />
- <xs:attribute name="node" type="xs:string" />
- <xs:attribute name="access" type="xs:string" />
- <xs:attribute name="column" type="xs:string" />
- <xs:attribute name="type" default="Int32" type="xs:string" />
- <xs:attribute name="unsaved-value" type="xs:string">
- <xs:annotation>
- <xs:documentation>undefined|any|none|null|0|-1|... </xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="generated" default="never" type="versionGeneration">
- </xs:attribute>
- <xs:attribute name="insert" type="xs:boolean">
- </xs:attribute>
- </xs:complexType>
- </xs:element>
- <xs:simpleType name="outerJoinStrategy">
- <xs:restriction base="xs:string">
- <xs:enumeration value="auto" />
- <xs:enumeration value="true" />
- <xs:enumeration value="false" />
- </xs:restriction>
- </xs:simpleType>
- <xs:simpleType name="collectionFetchMode">
- <xs:restriction base="xs:string">
- <xs:enumeration value="select" />
- <xs:enumeration value="join" />
- <xs:enumeration value="subselect" />
- </xs:restriction>
- </xs:simpleType>
- <xs:simpleType name="collectionLazy">
- <xs:restriction base="xs:string">
- <xs:enumeration value="true" />
- <xs:enumeration value="false" />
- <xs:enumeration value="extra" />
- </xs:restriction>
- </xs:simpleType>
- <xs:attributeGroup name="baseCollectionAttributes">
- <xs:attribute name="name" use="required" type="xs:string" />
- <xs:attribute name="access" type="xs:string" />
- <xs:attribute name="table" type="xs:string" />
- <xs:attribute name="schema" type="xs:string" />
- <xs:attribute name="catalog" type="xs:string" />
- <xs:attribute name="subselect" type="xs:string" />
- <xs:attribute name="lazy" type="collectionLazy">
- </xs:attribute>
- <xs:attribute name="inverse" default="false" type="xs:boolean">
- </xs:attribute>
- <xs:attribute name="mutable" default="true" type="xs:boolean">
- </xs:attribute>
- <xs:attribute name="cascade" type="xs:string" />
- <xs:attribute name="order-by" type="xs:string" />
- <xs:attribute name="where" type="xs:string" />
- <xs:attribute name="batch-size" type="xs:int" />
- <xs:attribute name="outer-join" type="outerJoinStrategy">
- </xs:attribute>
- <xs:attribute name="fetch" type="collectionFetchMode">
- </xs:attribute>
- <xs:attribute name="persister" type="xs:string" />
- <xs:attribute name="collection-type" type="xs:string" />
- <xs:attribute name="check" type="xs:string" />
- <xs:attribute name="optimistic-lock" default="true" type="xs:boolean">
- </xs:attribute>
- <xs:attribute name="node" type="xs:string" />
- <xs:attribute name="embed-xml" default="true" type="xs:boolean">
- </xs:attribute>
- <xs:attribute name="generic" type="xs:boolean" use="optional">
- <xs:annotation>
- <xs:documentation>The concrete collection should use a generic version or an object-based version.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- </xs:attributeGroup>
- <xs:simpleType name="optimisticLockMode">
- <xs:restriction base="xs:string">
- <xs:enumeration value="none" />
- <xs:enumeration value="version" />
- <xs:enumeration value="dirty" />
- <xs:enumeration value="all" />
- </xs:restriction>
- </xs:simpleType>
- <xs:simpleType name="polymorphismType">
- <xs:annotation>
- <xs:documentation>Types of polymorphism</xs:documentation>
- </xs:annotation>
- <xs:restriction base="xs:string">
- <xs:enumeration value="implicit" />
- <xs:enumeration value="explicit" />
- </xs:restriction>
- </xs:simpleType>
- <xs:simpleType name="unsavedValueType">
- <xs:restriction base="xs:string">
- <xs:enumeration value="undefined" />
- <xs:enumeration value="any" />
- <xs:enumeration value="none" />
- </xs:restriction>
- </xs:simpleType>
- <xs:simpleType name="ondelete">
- <xs:restriction base="xs:string">
- <xs:enumeration value="cascade" />
- <xs:enumeration value="noaction" />
- </xs:restriction>
- </xs:simpleType>
- <xs:simpleType name="restrictedLaziness">
- <xs:restriction base="xs:string">
- <xs:enumeration value="false" />
- <xs:enumeration value="proxy" />
- </xs:restriction>
- </xs:simpleType>
- <xs:simpleType name="lockMode">
- <xs:restriction base="xs:string">
- <xs:enumeration value="none" />
- <xs:enumeration value="read" />
- <xs:enumeration value="upgrade" />
- <xs:enumeration value="upgrade-nowait" />
- <xs:enumeration value="write" />
- </xs:restriction>
- </xs:simpleType>
- <xs:simpleType name="notFoundMode">
- <xs:restriction base="xs:string">
- <xs:enumeration value="ignore" />
- <xs:enumeration value="exception" />
- </xs:restriction>
- </xs:simpleType>
- <xs:simpleType name="fetchMode">
- <xs:restriction base="xs:string">
- <xs:enumeration value="select" />
- <xs:enumeration value="join" />
- </xs:restriction>
- </xs:simpleType>
- <xs:simpleType name="laziness">
- <xs:restriction base="xs:string">
- <xs:enumeration value="false" />
- <xs:enumeration value="proxy" />
- <xs:enumeration value="no-proxy" />
- </xs:restriction>
- </xs:simpleType>
- <xs:simpleType name="propertyGeneration">
- <xs:restriction base="xs:string">
- <xs:enumeration value="never" />
- <xs:enumeration value="insert" />
- <xs:enumeration value="always" />
- </xs:restriction>
- </xs:simpleType>
- <xs:simpleType name="flushMode">
- <xs:restriction base="xs:string">
- <xs:enumeration value="auto" />
- <xs:enumeration value="never" />
- <xs:enumeration value="always" />
- </xs:restriction>
- </xs:simpleType>
- <xs:simpleType name="cacheMode">
- <xs:restriction base="xs:string">
- <xs:enumeration value="get" />
- <xs:enumeration value="ignore" />
- <xs:enumeration value="normal" />
- <xs:enumeration value="put" />
- <xs:enumeration value="refresh" />
- </xs:restriction>
- </xs:simpleType>
- <xs:simpleType name="customSQLCheck">
- <xs:restriction base="xs:string">
- <xs:enumeration value="none" />
- <xs:enumeration value="rowcount" />
- <xs:enumeration value="param" />
- </xs:restriction>
- </xs:simpleType>
- <xs:complexType name="customSQL" mixed="true">
- <xs:attribute name="callable" type="xs:boolean" />
- <xs:attribute name="check" type="customSQLCheck" use="optional" />
- </xs:complexType>
- <xs:simpleType name="versionGeneration">
- <xs:restriction base="xs:string">
- <xs:enumeration value="never" />
- <xs:enumeration value="always" />
- </xs:restriction>
- </xs:simpleType>
- </xs:schema>
|