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

META-INF.module-hbm.xml Maven / Gradle / Ivy

There is a newer version: 7.0.6
Show newest version
<?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.polls.model.PollsChoice" />
	<import class="com.liferay.polls.model.PollsQuestion" />
	<import class="com.liferay.polls.model.PollsVote" />
	<class name="com.liferay.polls.model.impl.PollsChoiceImpl" table="PollsChoice">
		<id name="choiceId" 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="questionId" type="com.liferay.portal.dao.orm.hibernate.LongType" />
		<property name="name" type="com.liferay.portal.dao.orm.hibernate.StringType" />
		<property name="description" type="com.liferay.portal.dao.orm.hibernate.StringType" />
		<property name="lastPublishDate" type="org.hibernate.type.TimestampType" />
	</class>
	<class name="com.liferay.polls.model.impl.PollsQuestionImpl" table="PollsQuestion">
		<id name="questionId" 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="title" type="com.liferay.portal.dao.orm.hibernate.StringType" />
		<property name="description" type="com.liferay.portal.dao.orm.hibernate.StringType" />
		<property name="expirationDate" type="org.hibernate.type.TimestampType" />
		<property name="lastPublishDate" type="org.hibernate.type.TimestampType" />
		<property name="lastVoteDate" type="org.hibernate.type.TimestampType" />
	</class>
	<class name="com.liferay.polls.model.impl.PollsVoteImpl" table="PollsVote">
		<id name="voteId" 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="questionId" type="com.liferay.portal.dao.orm.hibernate.LongType" />
		<property name="choiceId" type="com.liferay.portal.dao.orm.hibernate.LongType" />
		<property name="lastPublishDate" type="org.hibernate.type.TimestampType" />
		<property name="voteDate" type="org.hibernate.type.TimestampType" />
	</class>
</hibernate-mapping>




© 2015 - 2025 Weber Informatics LLC | Privacy Policy