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

<mapping>
    <package name="tutorial">
        <class name="Animal">
            <jdbc-class-map type="base" pk-column="JDOID" table="ANIMAL"/>
            <jdbc-version-ind type="version-number" column="JDOVERSION"/>
            <jdbc-class-ind type="in-class-name" column="JDOCLASS"/>
            <field name="name">
                <jdbc-field-map type="value" column="NAME0"/>
            </field>
            <field name="price">
                <jdbc-field-map type="value" column="PRICE"/>
            </field>
        </class>
        <class name="Dog">
            <jdbc-class-map type="flat"/>
        </class>
        <class name="Rabbit">
            <jdbc-class-map type="flat"/>
            <field name="children">
                <jdbc-field-map type="many-many" element-column.JDOID="JDOID" ref-column.JDOID="PARENTS_JDOID" table="ANIMA_PARENTS"/>
            </field>
            <field name="eater">
                <jdbc-field-map type="one-one" column.JDOID="EATER_JDOID"/>
            </field>
            <field name="isDead">
                <jdbc-field-map type="value" column="ISDEAD"/>
            </field>
            <field name="isFemale">
                <jdbc-field-map type="value" column="ISFEMALE"/>
            </field>
            <field name="parents">
                <jdbc-field-map type="many-many" element-column.JDOID="PARENTS_JDOID" ref-column.JDOID="JDOID" table="ANIMA_PARENTS"/>
            </field>
        </class>
        <class name="Snake">
            <jdbc-class-map type="flat"/>
            <field name="giTract">
                <jdbc-field-map type="one-many" ref-column.JDOID="EATER_JDOID" table="ANIMAL"/>
            </field>
            <field name="length">
                <jdbc-field-map type="value" column="LENGTH0"/>
            </field>
        </class>
    </package>
</mapping>