All Downloads are FREE. Search and download functionalities are using the official Maven repository.

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.document.library.content.model.DLContent" />
	<class dynamic-update="true" name="com.liferay.document.library.content.model.impl.DLContentImpl" table="DLContent">
		<id access="com.liferay.portal.dao.orm.hibernate.MethodPropertyAccessor" name="contentId" 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="groupId" 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="repositoryId" type="com.liferay.portal.dao.orm.hibernate.LongType" />
		<property access="com.liferay.portal.dao.orm.hibernate.MethodPropertyAccessor" column="path_" name="path" type="com.liferay.portal.dao.orm.hibernate.StringType" />
		<property access="com.liferay.portal.dao.orm.hibernate.MethodPropertyAccessor" name="version" type="com.liferay.portal.dao.orm.hibernate.StringType" />
		<one-to-one access="com.liferay.portal.dao.orm.hibernate.PrivateFieldPropertyAccessor" cascade="save-update" class="com.liferay.document.library.content.model.DLContentDataBlobModel" constrained="false" name="dataBlobModel" outer-join="false" />
		<property access="com.liferay.portal.dao.orm.hibernate.MethodPropertyAccessor" column="size_" name="size" type="com.liferay.portal.dao.orm.hibernate.LongType" />
	</class>
	<class dynamic-update="true" lazy="true" name="com.liferay.document.library.content.model.DLContentDataBlobModel" table="DLContent">
		<id column="contentId" name="contentId">
			<generator class="foreign">
				<param name="property">com.liferay.document.library.content.model.impl.DLContentImpl</param>
			</generator>
		</id>
		<property column="data_" name="dataBlob" type="blob" />
	</class>
</hibernate-mapping>




© 2015 - 2025 Weber Informatics LLC | Privacy Policy