]> git.argeo.org Git - gpl/argeo-slc.git/blobdiff - org.argeo.slc.hibernate/src/main/resources/org/argeo/slc/hibernate/process/SlcExecutionStep.hbm.xml
Branch hibernate project from core
[gpl/argeo-slc.git] / org.argeo.slc.hibernate / src / main / resources / org / argeo / slc / hibernate / process / SlcExecutionStep.hbm.xml
diff --git a/org.argeo.slc.hibernate/src/main/resources/org/argeo/slc/hibernate/process/SlcExecutionStep.hbm.xml b/org.argeo.slc.hibernate/src/main/resources/org/argeo/slc/hibernate/process/SlcExecutionStep.hbm.xml
new file mode 100644 (file)
index 0000000..ce22c71
--- /dev/null
@@ -0,0 +1,18 @@
+<?xml version="1.0"?>\r
+<!DOCTYPE hibernate-mapping PUBLIC\r
+       "-//Hibernate/Hibernate Mapping DTD 3.0//EN"\r
+       "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">\r
+<hibernate-mapping package="org.argeo.slc.core.process">\r
+       <class name="SlcExecutionStep" table="SLC_EXECUTION_STEP">\r
+               <id name="uuid" column="UUID" />\r
+               <property name="type" column="TYPE" />\r
+               <property name="begin" column="BEGIN" />\r
+\r
+               <list name="logLines" cascade="all" lazy="false"\r
+                       table="SLC_EXECUTION_STEP_LOG_LINE">\r
+                       <key column="SLC_EXECUTION_STEP_ID" />\r
+                       <list-index column="INDX" />\r
+                       <element column="LOG_LINE" type="string" />\r
+               </list>\r
+       </class>\r
+</hibernate-mapping>
\ No newline at end of file