]> git.argeo.org Git - gpl/argeo-slc.git/blob - legacy/runtime/org.argeo.slc.support.hibernate/src/main/resources/org/argeo/slc/hibernate/runtime/SlcAgentDescriptor.hbm.xml
Move to SLC legacy
[gpl/argeo-slc.git] / legacy / runtime / org.argeo.slc.support.hibernate / src / main / resources / org / argeo / slc / hibernate / runtime / SlcAgentDescriptor.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.runtime">
23 <class name="SlcAgentDescriptor" table="SLC_AGENT_DESCRIPTOR">
24 <cache usage="read-write" />
25
26 <id name="uuid" column="UUID" />
27 <property name="host" column="HOST" />
28 <!--
29 <map name="executionSpecs" table="AGENT_EXEC_SPEC_MAP" cascade="all"
30 sort="natural">
31 <cache usage="nonstrict-read-write" />
32 <key column="PARENT_ID" />
33 <map-key column="KEY" type="string" />
34 <many-to-many class="org.argeo.slc.process.SlcExecutionSpec"
35 column="ELEMENT_ID" unique="true" />
36 </map>
37 -->
38 </class>
39 </hibernate-mapping>