mirror of
https://github.com/apache/openjpa.git
synced 2025-02-21 01:15:30 +00:00
OPENJPA-1190 Update schemas and schemas in documentation for EA5
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@796511 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
1b86a81c94
commit
07f597d281
@ -7,7 +7,7 @@
|
||||
version="2.0">
|
||||
<xsd:annotation>
|
||||
<xsd:documentation>
|
||||
@(#)orm_2_0.xsd 2.0 May 27 2009
|
||||
@(#)orm_2_0.xsd 2.0 July 17 2009
|
||||
</xsd:documentation>
|
||||
</xsd:annotation>
|
||||
<xsd:annotation>
|
||||
@ -270,12 +270,13 @@ version="2.0">
|
||||
</xsd:documentation>
|
||||
</xsd:annotation>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="description" type="xsd:string"
|
||||
minOccurs="0" />
|
||||
<xsd:element name="join-column" type="orm:join-column"
|
||||
minOccurs="0" maxOccurs="unbounded" />
|
||||
<xsd:element name="join-table" type="orm:join-table"
|
||||
minOccurs="0" />
|
||||
<xsd:element name="description" type="xsd:string" minOccurs="0" />
|
||||
<xsd:choice>
|
||||
<xsd:element name="join-column" type="orm:join-column"
|
||||
minOccurs="0" maxOccurs="unbounded" />
|
||||
<xsd:element name="join-table" type="orm:join-table"
|
||||
minOccurs="0" />
|
||||
</xsd:choice>
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
@ -369,7 +370,8 @@ version="2.0">
|
||||
<xsd:complexType name="cascade-type">
|
||||
<xsd:annotation>
|
||||
<xsd:documentation>
|
||||
public enum CascadeType { ALL, PERSIST, MERGE, REMOVE, REFRESH};
|
||||
public enum CascadeType { ALL, PERSIST, MERGE, REMOVE, REFRESH,
|
||||
DETACH};
|
||||
</xsd:documentation>
|
||||
</xsd:annotation>
|
||||
<xsd:sequence>
|
||||
@ -383,6 +385,8 @@ version="2.0">
|
||||
minOccurs="0" />
|
||||
<xsd:element name="cascade-refresh" type="orm:emptyType"
|
||||
minOccurs="0" />
|
||||
<xsd:element name="cascade-detach" type="orm:emptyType"
|
||||
minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<!-- **************************************************** -->
|
||||
|
@ -7,7 +7,7 @@
|
||||
version="2.0">
|
||||
<xsd:annotation>
|
||||
<xsd:documentation>
|
||||
@(#)persistence_2_0.xsd 1.0 May 8 2009
|
||||
@(#)persistence_2_0.xsd 1.0 July 17 2009
|
||||
</xsd:documentation>
|
||||
</xsd:annotation>
|
||||
<xsd:annotation>
|
||||
@ -102,8 +102,7 @@ version="2.0">
|
||||
maxOccurs="unbounded">
|
||||
<xsd:annotation>
|
||||
<xsd:documentation>
|
||||
Jar file that should be scanned for entities.
|
||||
Not applicable to Java SE persistence units.
|
||||
Jar file that is to be scanned for managed classes.
|
||||
</xsd:documentation>
|
||||
</xsd:annotation>
|
||||
</xsd:element>
|
||||
@ -112,14 +111,15 @@ version="2.0">
|
||||
minOccurs="0" maxOccurs="unbounded">
|
||||
<xsd:annotation>
|
||||
<xsd:documentation>
|
||||
Class to scan for annotations. It should be annotated
|
||||
Managed class to be included in the persistence unit and
|
||||
to scan for annotations. It should be annotated
|
||||
with either @Entity, @Embeddable or @MappedSuperclass.
|
||||
</xsd:documentation>
|
||||
</xsd:annotation>
|
||||
</xsd:element>
|
||||
<!-- **************************************************** -->
|
||||
<xsd:element name="exclude-unlisted-classes"
|
||||
type="xsd:boolean" default="false"
|
||||
type="xsd:boolean" default="true"
|
||||
minOccurs="0">
|
||||
<xsd:annotation>
|
||||
<xsd:documentation>
|
||||
@ -154,8 +154,7 @@ version="2.0">
|
||||
minOccurs="0">
|
||||
<xsd:annotation>
|
||||
<xsd:documentation>
|
||||
Specifies the validation mode to be used for the
|
||||
persistence unit.
|
||||
The validation mode to be used for the persistence unit.
|
||||
</xsd:documentation>
|
||||
</xsd:annotation>
|
||||
</xsd:element>
|
||||
@ -164,7 +163,8 @@ version="2.0">
|
||||
minOccurs="0">
|
||||
<xsd:annotation>
|
||||
<xsd:documentation>
|
||||
A list of vendor-specific properties.
|
||||
A list of standard and vendor-specific properties
|
||||
and hints.
|
||||
</xsd:documentation>
|
||||
</xsd:annotation>
|
||||
<xsd:complexType>
|
||||
@ -219,7 +219,7 @@ version="2.0">
|
||||
<xsd:simpleType name="persistence-unit-transaction-type">
|
||||
<xsd:annotation>
|
||||
<xsd:documentation>
|
||||
public enum TransactionType { JTA, RESOURCE_LOCAL };
|
||||
public enum PersistenceUnitTransactionType {JTA, RESOURCE_LOCAL};
|
||||
</xsd:documentation>
|
||||
</xsd:annotation>
|
||||
<xsd:restriction base="xsd:token">
|
||||
@ -231,7 +231,7 @@ version="2.0">
|
||||
<xsd:simpleType name="persistence-unit-caching-type">
|
||||
<xsd:annotation>
|
||||
<xsd:documentation>
|
||||
public enum CachingType { ALL, NONE, ENABLE_SELECTIVE,
|
||||
public enum SharedCacheMode { ALL, NONE, ENABLE_SELECTIVE,
|
||||
DISABLE_SELECTIVE, UNSPECIFIED};
|
||||
</xsd:documentation>
|
||||
</xsd:annotation>
|
||||
|
@ -2042,7 +2042,7 @@ found at <ulink url="http://java.sun.com/xml/ns/persistence/orm_1_0.xsd"/>.
|
||||
version="2.0">
|
||||
<xsd:annotation>
|
||||
<xsd:documentation>
|
||||
@(#)orm_2_0.xsd 2.0 May 27 2009
|
||||
@(#)orm_2_0.xsd 2.0 July 17 2009
|
||||
</xsd:documentation>
|
||||
</xsd:annotation>
|
||||
<xsd:annotation>
|
||||
@ -2307,12 +2307,13 @@ found at <ulink url="http://java.sun.com/xml/ns/persistence/orm_1_0.xsd"/>.
|
||||
</xsd:documentation>
|
||||
</xsd:annotation>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="description" type="xsd:string"
|
||||
minOccurs="0" />
|
||||
<xsd:element name="join-column" type="orm:join-column"
|
||||
minOccurs="0" maxOccurs="unbounded" />
|
||||
<xsd:element name="join-table" type="orm:join-table"
|
||||
minOccurs="0" />
|
||||
<xsd:element name="description" type="xsd:string" minOccurs="0" />
|
||||
<xsd:choice>
|
||||
<xsd:element name="join-column" type="orm:join-column"
|
||||
minOccurs="0" maxOccurs="unbounded" />
|
||||
<xsd:element name="join-table" type="orm:join-table"
|
||||
minOccurs="0" />
|
||||
</xsd:choice>
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
@ -2406,7 +2407,8 @@ found at <ulink url="http://java.sun.com/xml/ns/persistence/orm_1_0.xsd"/>.
|
||||
<xsd:complexType name="cascade-type">
|
||||
<xsd:annotation>
|
||||
<xsd:documentation>
|
||||
public enum CascadeType { ALL, PERSIST, MERGE, REMOVE, REFRESH};
|
||||
public enum CascadeType { ALL, PERSIST, MERGE, REMOVE, REFRESH,
|
||||
DETACH};
|
||||
</xsd:documentation>
|
||||
</xsd:annotation>
|
||||
<xsd:sequence>
|
||||
@ -2420,6 +2422,8 @@ found at <ulink url="http://java.sun.com/xml/ns/persistence/orm_1_0.xsd"/>.
|
||||
minOccurs="0" />
|
||||
<xsd:element name="cascade-refresh" type="orm:emptyType"
|
||||
minOccurs="0" />
|
||||
<xsd:element name="cascade-detach" type="orm:emptyType"
|
||||
minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<!-- **************************************************** -->
|
||||
|
@ -114,7 +114,7 @@ schema can be found at
|
||||
version="2.0">
|
||||
<xsd:annotation>
|
||||
<xsd:documentation>
|
||||
@(#)persistence_2_0.xsd 1.0 May 8 2009
|
||||
@(#)persistence_2_0.xsd 1.0 July 17 2009
|
||||
</xsd:documentation>
|
||||
</xsd:annotation>
|
||||
<xsd:annotation>
|
||||
@ -211,8 +211,7 @@ schema can be found at
|
||||
maxOccurs="unbounded">
|
||||
<xsd:annotation>
|
||||
<xsd:documentation>
|
||||
Jar file that should be scanned for entities.
|
||||
Not applicable to Java SE persistence units.
|
||||
Jar file that is to be scanned for managed classes.
|
||||
</xsd:documentation>
|
||||
</xsd:annotation>
|
||||
</xsd:element>
|
||||
@ -221,14 +220,15 @@ schema can be found at
|
||||
minOccurs="0" maxOccurs="unbounded">
|
||||
<xsd:annotation>
|
||||
<xsd:documentation>
|
||||
Class to scan for annotations. It should be annotated
|
||||
Managed class to be included in the persistence unit and
|
||||
to scan for annotations. It should be annotated
|
||||
with either @Entity, @Embeddable or @MappedSuperclass.
|
||||
</xsd:documentation>
|
||||
</xsd:annotation>
|
||||
</xsd:element>
|
||||
<!-- **************************************************** -->
|
||||
<xsd:element name="exclude-unlisted-classes"
|
||||
type="xsd:boolean" default="false"
|
||||
type="xsd:boolean" default="true"
|
||||
minOccurs="0">
|
||||
<xsd:annotation>
|
||||
<xsd:documentation>
|
||||
@ -263,8 +263,7 @@ schema can be found at
|
||||
minOccurs="0">
|
||||
<xsd:annotation>
|
||||
<xsd:documentation>
|
||||
Specifies the validation mode to be used for the
|
||||
persistence unit.
|
||||
The validation mode to be used for the persistence unit.
|
||||
</xsd:documentation>
|
||||
</xsd:annotation>
|
||||
</xsd:element>
|
||||
@ -273,7 +272,8 @@ schema can be found at
|
||||
minOccurs="0">
|
||||
<xsd:annotation>
|
||||
<xsd:documentation>
|
||||
A list of vendor-specific properties.
|
||||
A list of standard and vendor-specific properties
|
||||
and hints.
|
||||
</xsd:documentation>
|
||||
</xsd:annotation>
|
||||
<xsd:complexType>
|
||||
@ -328,7 +328,7 @@ schema can be found at
|
||||
<xsd:simpleType name="persistence-unit-transaction-type">
|
||||
<xsd:annotation>
|
||||
<xsd:documentation>
|
||||
public enum TransactionType { JTA, RESOURCE_LOCAL };
|
||||
public enum PersistenceUnitTransactionType {JTA, RESOURCE_LOCAL};
|
||||
</xsd:documentation>
|
||||
</xsd:annotation>
|
||||
<xsd:restriction base="xsd:token">
|
||||
@ -340,7 +340,7 @@ schema can be found at
|
||||
<xsd:simpleType name="persistence-unit-caching-type">
|
||||
<xsd:annotation>
|
||||
<xsd:documentation>
|
||||
public enum CachingType { ALL, NONE, ENABLE_SELECTIVE,
|
||||
public enum SharedCacheMode { ALL, NONE, ENABLE_SELECTIVE,
|
||||
DISABLE_SELECTIVE, UNSPECIFIED};
|
||||
</xsd:documentation>
|
||||
</xsd:annotation>
|
||||
|
Loading…
x
Reference in New Issue
Block a user