<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC 
    "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
    "https://hibernate.org/dtd/hibernate-mapping-3.0.dtd">

<hibernate-mapping package="org.springframework.webflow.persistence" default-lazy="false">
	<class name="TestBean" table="T_BEAN">
		<id name="entityId" column="ID">
			<generator class="increment" />
		</id>
		<property name="name" column="NAME" />
		<set name="addresses" table="T_ADDRESS" lazy="true">
			<key column="BEAN_ID"/>
			<one-to-many class="TestAddress"/>
		</set>
	</class>
</hibernate-mapping>