<?xml version="1.0"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
<hibernate-mapping>
    <class name="hib.inher.xmlmap.Animal" table="animal_three">
        <id name="id" column="id">
            <generator class="increment"/>
        </id>
        <property name="name" column="name"/>
        <joined-subclass name="hib.inher.xmlmap.Cat" table="cat_three">
            <key column="id"/>
            <property name="miceperday" column="miceperday"/>
        </joined-subclass>
        <joined-subclass name="hib.inher.xmlmap.Cow" table="cow_three">
            <key column="id"/>
            <property name="litermilkperday" column="litermilkperday"/>
        </joined-subclass>
    </class>
</hibernate-mapping>
