]> git.argeo.org Git - gpl/argeo-slc.git/blobdiff - runtime/org.argeo.slc.support.hibernate/src/main/resources/org/argeo/slc/hibernate/runtime/SlcAgentDescriptor.hbm.xml
Update license header
[gpl/argeo-slc.git] / runtime / org.argeo.slc.support.hibernate / src / main / resources / org / argeo / slc / hibernate / runtime / SlcAgentDescriptor.hbm.xml
index dbc7649002396d5c12869f908778243ca40299c7..8472085ffade6189f18f0abe0c7d019d73e6d697 100644 (file)
@@ -1,4 +1,22 @@
 <?xml version="1.0"?>
+<!--\r
+\r
+    Copyright (C) 2010 Mathieu Baudier <mbaudier@argeo.org>\r
+\r
+    Licensed under the Apache License, Version 2.0 (the "License");\r
+    you may not use this file except in compliance with the License.\r
+    You may obtain a copy of the License at\r
+\r
+            http://www.apache.org/licenses/LICENSE-2.0\r
+\r
+    Unless required by applicable law or agreed to in writing, software\r
+    distributed under the License is distributed on an "AS IS" BASIS,\r
+    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
+    See the License for the specific language governing permissions and\r
+    limitations under the License.\r
+\r
+-->\r
+\r
 <!DOCTYPE hibernate-mapping PUBLIC\r
        "-//Hibernate/Hibernate Mapping DTD 3.0//EN"\r
        "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">\r
@@ -7,6 +25,16 @@
                <cache usage="read-write" />\r
 \r
                <id name="uuid" column="UUID" />\r
-               <property name="host" column="HOST" />\r
+               <property name="host" column="HOST" />
+<!-- 
+               <map name="executionSpecs" table="AGENT_EXEC_SPEC_MAP" cascade="all"
+                       sort="natural">
+                       <cache usage="nonstrict-read-write" />
+                       <key column="PARENT_ID" />
+                       <map-key column="KEY" type="string" />
+                       <many-to-many class="org.argeo.slc.process.SlcExecutionSpec"
+                               column="ELEMENT_ID" unique="true" />
+               </map>
+                -->\r
        </class>
 </hibernate-mapping>
\ No newline at end of file