<?xml version="1.0" encoding="UTF-8"?>
<entity-mappings xmlns="http://xmlns.jcp.org/xml/ns/persistence/orm"
		xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
		xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/persistence/orm https://www.oracle.com/webfolder/technetwork/jsc/xml/ns/persistence/orm_2_1.xsd"
		version="2.1">

	<package>org.springframework.webflow.persistence</package>

	<entity class="TestBean">
		<table name="T_BEAN" />
		<attributes>
			<id name="entityId">
				<column name="ID" />
			</id>
			<basic name="name">
				<column name="NAME" />
			</basic>
			<basic name="count">
				<column name="counter" />
			</basic>
			<one-to-many name="addresses" target-entity="TestAddress">
				<join-column name="BEAN_ID"/>
			</one-to-many>
		</attributes>
	</entity>
	
	<entity class="TestAddress">
		<table name="T_ADDRESS"/>
		<attributes>
			<id name="entityId">
				<column name="ID" />
			</id>
			<basic name="value">
				<column name="VALUE" />
			</basic>
		</attributes>
	</entity>

</entity-mappings>
