<?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="org.springframework.batch.item.sample.Foo" table="T_FOOS">
		<id name="id" column="ID">
			<generator class="increment" />
		</id>
		<property name="name" />
		<property name="value" />
	</class>

	<query name="allFoos">
		from Foo 
	</query>
</hibernate-mapping>
