]> git.argeo.org Git - gpl/argeo-slc.git/blob - PartSubList.hbm.xml
08fc992037514dd70602015c327a3c67a20a706b
[gpl/argeo-slc.git] / PartSubList.hbm.xml
1 <?xml version="1.0"?>
2 <!--
3
4 Copyright (C) 2007-2012 Mathieu Baudier
5
6 Licensed under the Apache License, Version 2.0 (the "License");
7 you may not use this file except in compliance with the License.
8 You may obtain a copy of the License at
9
10 http://www.apache.org/licenses/LICENSE-2.0
11
12 Unless required by applicable law or agreed to in writing, software
13 distributed under the License is distributed on an "AS IS" BASIS,
14 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 See the License for the specific language governing permissions and
16 limitations under the License.
17
18 -->
19 <!DOCTYPE hibernate-mapping PUBLIC
20 "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
21 "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
22 <hibernate-mapping package="org.argeo.slc.core.test.tree">
23 <class name="PartSubList" table="PART_SUB_LIST">
24 <cache usage="nonstrict-read-write" />
25 <id name="tid" column="T_ID">
26 <generator class="native" />
27 </id>
28 <list name="parts" cascade="all" table="PARTS_LIST">
29 <cache usage="nonstrict-read-write" />
30 <key column="PART_SUBLIST_ID" />
31 <list-index column="INDX" />
32 <many-to-many
33 class="org.argeo.slc.core.test.SimpleResultPart" column="PART_ID"
34 unique="true" />
35 </list>
36 </class>
37 </hibernate-mapping>