[hibernate-commits] Hibernate SVN: r11515 - tags/v324/Hibernate3/test/org/hibernate/test/usercollection/parameterized.

hibernate-commits at lists.jboss.org hibernate-commits at lists.jboss.org
Wed May 9 16:25:44 EDT 2007


Author: steve.ebersole at jboss.com
Date: 2007-05-09 16:25:43 -0400 (Wed, 09 May 2007)
New Revision: 11515

Added:
   tags/v324/Hibernate3/test/org/hibernate/test/usercollection/parameterized/Mapping.hbm.xml
Log:
correcting test mapping

Copied: tags/v324/Hibernate3/test/org/hibernate/test/usercollection/parameterized/Mapping.hbm.xml (from rev 11514, branches/Branch_3_2/Hibernate3/test/org/hibernate/test/usercollection/parameterized/Mapping.hbm.xml)
===================================================================
--- tags/v324/Hibernate3/test/org/hibernate/test/usercollection/parameterized/Mapping.hbm.xml	                        (rev 0)
+++ tags/v324/Hibernate3/test/org/hibernate/test/usercollection/parameterized/Mapping.hbm.xml	2007-05-09 20:25:43 UTC (rev 11515)
@@ -0,0 +1,21 @@
+<?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 package="org.hibernate.test.usercollection.parameterized" default-access="field">
+
+    <typedef name="DefaultableList" class="org.hibernate.test.usercollection.parameterized.DefaultableListType">
+        <param name="default">Hello</param>
+    </typedef>
+
+    <class name="Entity">
+        <id name="name" type="string"/>
+        <list name="values" fetch="join" table="ENT_VAL" collection-type="DefaultableList">
+            <key column="ENT_ID"/>
+            <list-index column="POS"/>
+            <element type="string" column="VAL"/>
+        </list>
+    </class>
+
+</hibernate-mapping>
\ No newline at end of file




More information about the hibernate-commits mailing list