META-INF.module-hbm.xml Maven / Gradle / Ivy
<?xml version="1.0"?> <!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd"> <hibernate-mapping auto-import="false" default-lazy="false"> <import class="com.liferay.wiki.model.WikiNode" /> <import class="com.liferay.wiki.model.WikiPage" /> <import class="com.liferay.wiki.model.WikiPageResource" /> <class name="com.liferay.wiki.model.impl.WikiNodeImpl" table="WikiNode"> <id name="nodeId" type="long"> <generator class="assigned" /> </id> <property column="uuid_" name="uuid" type="com.liferay.portal.dao.orm.hibernate.StringType" /> <property name="groupId" type="com.liferay.portal.dao.orm.hibernate.LongType" /> <property name="companyId" type="com.liferay.portal.dao.orm.hibernate.LongType" /> <property name="userId" type="com.liferay.portal.dao.orm.hibernate.LongType" /> <property name="userName" type="com.liferay.portal.dao.orm.hibernate.StringType" /> <property name="createDate" type="org.hibernate.type.TimestampType" /> <property name="modifiedDate" type="org.hibernate.type.TimestampType" /> <property name="name" type="com.liferay.portal.dao.orm.hibernate.StringType" /> <property name="description" type="com.liferay.portal.dao.orm.hibernate.StringType" /> <property name="lastPostDate" type="org.hibernate.type.TimestampType" /> <property name="lastPublishDate" type="org.hibernate.type.TimestampType" /> <property name="status" type="com.liferay.portal.dao.orm.hibernate.IntegerType" /> <property name="statusByUserId" type="com.liferay.portal.dao.orm.hibernate.LongType" /> <property name="statusByUserName" type="com.liferay.portal.dao.orm.hibernate.StringType" /> <property name="statusDate" type="org.hibernate.type.TimestampType" /> </class> <class name="com.liferay.wiki.model.impl.WikiPageImpl" table="WikiPage"> <id name="pageId" type="long"> <generator class="assigned" /> </id> <property column="uuid_" name="uuid" type="com.liferay.portal.dao.orm.hibernate.StringType" /> <property name="resourcePrimKey" type="com.liferay.portal.dao.orm.hibernate.LongType" /> <property name="groupId" type="com.liferay.portal.dao.orm.hibernate.LongType" /> <property name="companyId" type="com.liferay.portal.dao.orm.hibernate.LongType" /> <property name="userId" type="com.liferay.portal.dao.orm.hibernate.LongType" /> <property name="userName" type="com.liferay.portal.dao.orm.hibernate.StringType" /> <property name="createDate" type="org.hibernate.type.TimestampType" /> <property name="modifiedDate" type="org.hibernate.type.TimestampType" /> <property name="nodeId" type="com.liferay.portal.dao.orm.hibernate.LongType" /> <property name="title" type="com.liferay.portal.dao.orm.hibernate.StringType" /> <property name="version" type="com.liferay.portal.dao.orm.hibernate.DoubleType" /> <property name="minorEdit" type="com.liferay.portal.dao.orm.hibernate.BooleanType" /> <property name="content" type="com.liferay.portal.dao.orm.hibernate.StringClobType" /> <property name="summary" type="com.liferay.portal.dao.orm.hibernate.StringType" /> <property name="format" type="com.liferay.portal.dao.orm.hibernate.StringType" /> <property name="head" type="com.liferay.portal.dao.orm.hibernate.BooleanType" /> <property name="parentTitle" type="com.liferay.portal.dao.orm.hibernate.StringType" /> <property name="redirectTitle" type="com.liferay.portal.dao.orm.hibernate.StringType" /> <property name="lastPublishDate" type="org.hibernate.type.TimestampType" /> <property name="status" type="com.liferay.portal.dao.orm.hibernate.IntegerType" /> <property name="statusByUserId" type="com.liferay.portal.dao.orm.hibernate.LongType" /> <property name="statusByUserName" type="com.liferay.portal.dao.orm.hibernate.StringType" /> <property name="statusDate" type="org.hibernate.type.TimestampType" /> </class> <class name="com.liferay.wiki.model.impl.WikiPageResourceImpl" table="WikiPageResource"> <id name="resourcePrimKey" type="long"> <generator class="assigned" /> </id> <property column="uuid_" name="uuid" type="com.liferay.portal.dao.orm.hibernate.StringType" /> <property name="groupId" type="com.liferay.portal.dao.orm.hibernate.LongType" /> <property name="companyId" type="com.liferay.portal.dao.orm.hibernate.LongType" /> <property name="nodeId" type="com.liferay.portal.dao.orm.hibernate.LongType" /> <property name="title" type="com.liferay.portal.dao.orm.hibernate.StringType" /> </class> </hibernate-mapping>