<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd"> <hibernate-mapping> <class name="org.pentaho.repository.runtime.RuntimeElement" table="RTELEMENT"> <cache usage="read-write"/> <id column="INSTANCEID" name="instanceId" type="string" unsaved-value="null" length="100"> <generator class="assigned" /> </id> <version column="REVISION" name="revision" /> <property name="parentId" type="string" not-null="false"> <column name="PARID" length="254" not-null="false" /> </property> <property name="parentType" type="string" not-null="false"> <column name="PARTYPE" length="50" not-null="false" /> </property> <property name="solutionId" type="string" not-null="false"> <column name="SOLNID" length="254" not-null="false" /> </property> <map name="paramMapSS" table="SSPARAMS" lazy="true" cascade="all,delete-orphan"> <key column="ITEMID" /> <map-key column="PARAMKEY" type="string" length="50" /> <element type="org.pentaho.repository.usertypes.EmptyStringUserType" column="PARAMVALUE" length="254" /> </map> <map name="typesMap" table="PARAMTYPESMAP" lazy="true" cascade="all,delete-orphan"> <key column="ITEMID" /> <map-key column="PARAMKEY" type="string" length="50" /> <element type="org.pentaho.repository.usertypes.EmptyStringUserType" column="PARAMVALUE" length="25" /> </map> <map name="paramMapLS" table="LSPARAMS" lazy="true" cascade="all,delete-orphan"> <key column="ITEMID" /> <map-key column="PARAMKEY" type="string" length="50" /> <element type="org.pentaho.repository.usertypes.LongStringUserType" column="PARAMVALUE"/> </map> <map name="paramMapDT" table="DTPARAMS" lazy="true" cascade="all,delete-orphan"> <key column="ITEMID" /> <map-key column="PARAMKEY" type="string" length="50" /> <element type="timestamp" column="PARAMVALUE"/> </map> <map name="paramMapBD" table="BDPARAMS" lazy="true" cascade="all,delete-orphan"> <key column="ITEMID" /> <map-key column="PARAMKEY" type="string" length="50" /> <element type="string" length="50" column="PARAMVALUE"/> </map> <map name="paramMapLong" table="LNGPARAMS" lazy="true" cascade="all,delete-orphan"> <key column="ITEMID" /> <map-key column="PARAMKEY" type="string" length="50" /> <element type="long" column="PARAMVALUE"/> </map> <map name="paramMapCPLX" table="CPLXPARAMS" lazy="true" cascade="all,delete-orphan"> <key column="ITEMID" /> <map-key column="PARAMKEY" type="string" length="50" /> <element type="org.pentaho.repository.usertypes.BlobUserType" column="PARAMVALUE"/> </map> <property name="readOnly" type="boolean" not-null="false"> <column name="READONLY" not-null="false"/> </property> <property name="createDate" type="timestamp" not-null="true" > <column name="CREATED" not-null="true" /> </property> </class> </hibernate-mapping>