Index: test/org/hibernate/shards/testmodel/replicationtest/Replicated1.hbm.xml |
=================================================================== |
--- test/org/hibernate/shards/testmodel/replicationtest/Replicated1.hbm.xml (revision 0) |
+++ test/org/hibernate/shards/testmodel/replicationtest/Replicated1.hbm.xml (revision 0) |
@@ -0,0 +1,12 @@ |
+<?xml version="1.0"?> |
+<!DOCTYPE hibernate-mapping PUBLIC |
+ "-//Hibernate/Hibernate Mapping DTD//EN" |
+ "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd" > |
+ |
+<hibernate-mapping package="org.hibernate.shards.testmodel.replicationtest"> |
+ <class name="Replicated1" table="Replicated1"> |
+ <id name="id" type="long" column="id"/> |
+ <many-to-one name="rep" column="rep" class="org.hibernate.shards.testmodel.replicationtest.Replicated2" cascade="all"/> |
+ |
+ </class> |
+</hibernate-mapping> |