complexType persistence-unit-defaults

complexType {http://java.sun.com/xml/ns/persistence/orm}persistence-unit-defaults

Abstractfalse (This can be used in an instance)
Target Namespacehttp://java.sun.com/xml/ns/persistence/orm
Declared Namespacesxmlns:orm=http://java.sun.com/xml/ns/persistence/orm
xmlns:xsd=http://www.w3.org/2001/XMLSchema


Source

<xsd:complexType name="persistence-unit-defaults">
    <
xsd:annotation>
        <
xsd:documentation>
These defaults are applied to the persistence unit as a whole
unless they are overridden by local annotation or XML
element settings.

schema - Used as the schema for all tables or secondary tables
that apply to the persistence unit
catalog - Used as the catalog for all tables or secondary tables
that apply to the persistence unit
access - Used as the access type for all managed classes in
the persistence unit
cascade-persist - Adds cascade-persist to the set of cascade options
in entity relationships of the persistence unit
entity-listeners - List of default entity listeners to be invoked
on each entity in the persistence unit.
        
</xsd:documentation>
    </
xsd:annotation>
    <
xsd:sequence>
        <
xsd:element name="schema" type="xsd:string" minOccurs="0"/>
        <
xsd:element name="catalog" type="xsd:string" minOccurs="0"/>
        <
xsd:element name="access" type="orm:access-type" minOccurs="0"/>
        <
xsd:element name="cascade-persist" type="orm:emptyType" minOccurs="0"/>
        <
xsd:element name="entity-listeners" type="orm:entity-listeners" minOccurs="0"/>
    </
xsd:sequence>
</
xsd:complexType>


Documentation

These defaults are applied to the persistence unit as a whole
unless they are overridden by local annotation or XML
element settings.
schema - Used as the schema for all tables or secondary tables
    that apply to the persistence unit
catalog - Used as the catalog for all tables or secondary tables
    that apply to the persistence unit
access - Used as the access type for all managed classes in
    the persistence unit
cascade-persist - Adds cascade-persist to the set of cascade options
    in entity relationships of the persistence unit
entity-listeners - List of default entity listeners to be invoked
    on each entity in the persistence unit.


complexType persistence-unit-defaults


Stylus Studio XML Schema Library Home
Site Map | Privacy Policy | Terms of Use | Trademarks
Stylus Scoop XML Newsletter:
W3C Member
Stylus Studio®, a product from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2006 All Rights Reserved.