]> git.argeo.org Git - gpl/argeo-slc.git/blob - TreeTestResultCollection.hbm.xml
7988d2bd925cddec1b7175b44e75a8eed1dd9df9
[gpl/argeo-slc.git] / TreeTestResultCollection.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="TreeTestResultCollection"
24 table="TREE_TEST_RESULT_COLLECTION">
25 <cache usage="nonstrict-read-write" />
26 <id name="id" column="ID" />
27
28 <set name="results" table="TTR_COLLECTION_RESULTS"
29 sort="natural">
30 <cache usage="read-write" />
31 <key column="PARENT_ID" />
32 <many-to-many class="TreeTestResult" column="TTR"/>
33 </set>
34 </class>
35 </hibernate-mapping>