<?xml version="1.0"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
<hibernate-mapping>
	<class name="com.rmg.synergy.vo.Test" table="Test" lazy="true">
		<id name="id" type="java.lang.Integer">
			<column name="id" />
			<generator class="native" />
		</id>
        <property name="label" type="string">
            <column name="label" length="50" />
        </property>
		<set name="items" table="TestItem" lazy="true" cascade="all" fetch="join">
			<key column="fkTest" />
			<one-to-many class="com.rmg.synergy.vo.TestItem" not-found="ignore"/>
		</set>
	</class>
</hibernate-mapping>
