]> git.argeo.org Git - gpl/argeo-slc.git/blob - org.argeo.slc.core/src/main/resources/org/argeo/slc/hibernate/test/tree/PartSubList.hbm.xml
Simplify TreeSPath
[gpl/argeo-slc.git] / org.argeo.slc.core / src / main / resources / org / argeo / slc / hibernate / test / tree / PartSubList.hbm.xml
1 <?xml version="1.0"?>
2 <!DOCTYPE hibernate-mapping PUBLIC
3 "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
4 "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
5 <hibernate-mapping package="org.argeo.slc.core.test.tree">
6 <class name="PartSubList" table="PART_SUB_LIST">
7 <id name="tid" column="T_ID">
8 <generator class="native" />
9 </id>
10 <property name="slcExecutionUuid" column="SLC_EXEC_UUID" />
11 <property name="slcExecutionStepUuid"
12 column="SLC_EXEC_STEP_UUID" />
13 <list name="parts" cascade="all" lazy="false">
14 <key column="PART_SUBLIST_ID" />
15 <list-index column="INDX" />
16
17 <one-to-many
18 class="org.argeo.slc.core.test.SimpleResultPart" />
19 </list>
20 </class>
21 </hibernate-mapping>