]> git.argeo.org Git - gpl/argeo-slc.git/blobdiff - org.argeo.slc.core/src/main/resources/org/argeo/slc/hibernate/structure/SimpleSElement.hbm.xml
Introduce XSLT view
[gpl/argeo-slc.git] / org.argeo.slc.core / src / main / resources / org / argeo / slc / hibernate / structure / SimpleSElement.hbm.xml
index fde2a34b680618705795135ad36e8875b1f8192b..0bc9e6aea230ac83f1e2b6fcf7b8448c9505bd86 100644 (file)
@@ -7,7 +7,12 @@
                <id name="tid" column="T_ID">\r
                        <generator class="native" />\r
                </id>\r
-               <property name="label" column="LABEL"\r
-                       not-null="true" />\r
+               <property name="label" column="LABEL" not-null="true" />\r
+               <map name="tags" table="SIMPLE_SELEMENT_TAGS" cascade="all"\r
+                       lazy="false" sort="natural">\r
+                       <key column="PARENT_ID" />\r
+                       <map-key type="string" column="NAME" />\r
+                       <element type="string" column="VALUE" />\r
+               </map>\r
        </class>\r
 </hibernate-mapping>
\ No newline at end of file