<?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 default-lazy="false" auto-import="false">
	<import class="com.bhagwan.dbservice.model.Student" />
	
	<class name="com.bhagwan.dbservice.model.impl.StudentImpl" table="LS_Student">
		<cache usage="read-write" />
		<id name="studentId" type="long">
			<generator class="assigned" />
		</id>
		<property name="firstName" type="com.liferay.portal.dao.orm.hibernate.StringType" />
		<property name="lastName" type="com.liferay.portal.dao.orm.hibernate.StringType" />
		<property name="studentAge" type="com.liferay.portal.dao.orm.hibernate.IntegerType" />
		<property name="studentGender" type="com.liferay.portal.dao.orm.hibernate.IntegerType" />
		<property name="studentAddress" type="com.liferay.portal.dao.orm.hibernate.StringType" />
	</class>
</hibernate-mapping>