]> git.argeo.org Git - gpl/argeo-slc.git/blob - org.argeo.slc.hibernate/src/main/resources/org/argeo/slc/hibernate/test/tree/PartSubList.hbm.xml
Introduce Hibernate lazy loading
[gpl/argeo-slc.git] / org.argeo.slc.hibernate / 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 <list name="parts" cascade="all">
11 <key column="PART_SUBLIST_ID" />
12 <list-index column="INDX" />
13 <composite-element
14 class="org.argeo.slc.core.test.SimpleResultPart">
15 <property name="status" column="STATUS" not-null="true" />
16 <property name="message" column="MESSAGE"
17 not-null="true" />
18 <property name="exceptionMessage"
19 column="EXCEPTION_MESSAGE" not-null="false" />
20 <property name="testRunUuid" column="TEST_RUN_UUID"
21 not-null="false" />
22 </composite-element>
23 </list>
24 </class>
25 </hibernate-mapping>