META-INF.module-hbm.xml Maven / Gradle / Ivy
<?xml version="1.0"?> <!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://www.hibernate.org/dtd/hibernate-mapping-3.0.dtd"> <hibernate-mapping auto-import="false" default-lazy="false"> <import class="com.liferay.asset.link.model.AssetLink" /> <class dynamic-update="true" name="com.liferay.asset.link.model.impl.AssetLinkImpl" table="AssetLink"> <id access="com.liferay.portal.dao.orm.hibernate.MethodPropertyAccessor" name="linkId" type="long"> <generator class="assigned" /> </id> <version access="com.liferay.portal.dao.orm.hibernate.PrivateFieldPropertyAccessor" name="mvccVersion" type="long" /> <property access="com.liferay.portal.dao.orm.hibernate.MethodPropertyAccessor" name="ctCollectionId" type="com.liferay.portal.dao.orm.hibernate.LongType" /> <property access="com.liferay.portal.dao.orm.hibernate.MethodPropertyAccessor" name="companyId" type="com.liferay.portal.dao.orm.hibernate.LongType" /> <property access="com.liferay.portal.dao.orm.hibernate.MethodPropertyAccessor" name="userId" type="com.liferay.portal.dao.orm.hibernate.LongType" /> <property access="com.liferay.portal.dao.orm.hibernate.MethodPropertyAccessor" name="userName" type="com.liferay.portal.dao.orm.hibernate.StringType" /> <property access="com.liferay.portal.dao.orm.hibernate.MethodPropertyAccessor" name="createDate" type="org.hibernate.type.TimestampType" /> <property access="com.liferay.portal.dao.orm.hibernate.MethodPropertyAccessor" name="entryId1" type="com.liferay.portal.dao.orm.hibernate.LongType" /> <property access="com.liferay.portal.dao.orm.hibernate.MethodPropertyAccessor" name="entryId2" type="com.liferay.portal.dao.orm.hibernate.LongType" /> <property access="com.liferay.portal.dao.orm.hibernate.MethodPropertyAccessor" column="type_" name="type" type="com.liferay.portal.dao.orm.hibernate.IntegerType" /> <property access="com.liferay.portal.dao.orm.hibernate.MethodPropertyAccessor" name="weight" type="com.liferay.portal.dao.orm.hibernate.IntegerType" /> </class> </hibernate-mapping>