]> git.argeo.org Git - gpl/argeo-slc.git/blob - runtime/org.argeo.slc.support.hibernate/src/main/resources/org/argeo/slc/hibernate/structure/SimpleSElement.hbm.xml
Rename SLC Hibernate
[gpl/argeo-slc.git] / runtime / org.argeo.slc.support.hibernate / src / main / resources / org / argeo / slc / hibernate / structure / SimpleSElement.hbm.xml
1 <?xml version="1.0"?>
2 <!DOCTYPE hibernate-mapping PUBLIC
3 "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
4 "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
5 <hibernate-mapping package="org.argeo.slc.core.structure">
6 <class name="SimpleSElement" table="SIMPLE_SELEMENT">
7 <cache usage="nonstrict-read-write" />
8 <id name="tid" column="T_ID">
9 <generator class="native" />
10 </id>
11 <property name="label" column="LABEL" not-null="true" />
12 <map name="tags" table="SIMPLE_SELEMENT_TAGS" cascade="all"
13 lazy="false" sort="natural">
14 <cache usage="nonstrict-read-write" />
15 <key column="PARENT_ID" />
16 <map-key type="string" column="NAME" />
17 <element type="string" column="VALUE" />
18 </map>
19 </class>
20 </hibernate-mapping>