<?xml version="1.0" encoding="UTF-8"?>

<entity-mappings xmlns="http://java.sun.com/xml/ns/persistence/orm"
                 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                 xsi:schemaLocation="http://java.sun.com/xml/ns/persistence/orm orm_2_0.xsd"
                 version="2.0"
        >
    <persistence-unit-metadata>
        <persistence-unit-defaults>
            <schema>MY_SCHEMA</schema>
            <catalog>MY_CATALOG</catalog>
            <access>PROPERTY</access>
            <cascade-persist/>
        </persistence-unit-defaults>
    </persistence-unit-metadata>
    <package>org.hibernate.ejb.test.xml.sequences</package>
    <entity class="Light" metadata-complete="true" access="FIELD">
        <attributes>
            <id name="name">
                <column name="fld_id"/>
            </id>
            <basic name="power"></basic>
        </attributes>
    </entity>
    <entity class="Article"
            metadata-complete="false">
        <attributes>
            <id name="id">
                <generated-value strategy="SEQUENCE"/>
            </id>
        </attributes>
    </entity>
</entity-mappings>