Hibernate

Create Emp.hbm.xml file
Previous Home Next

Step: 3

Emp.hbm.xml file

<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE hibernate-mapping PUBLIC
"-//Hibernate/Hibernate Mapping DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-mapping-30.0.dtd">
<!-- r4r.co.in. -->
<hibernate-mapping>
<class name="mypack.Emp">
<id name="id" type="int"></id>
<property name="name"></property>
<property name="job"></property>
<property name="salary" type="int"></property>
</class>
</hibernate-mapping>

Previous Home Next

Tolal:0 Click:

Show All Comments

Did not find what you were looking for leave your name and message. We will revert within 24 hours
Name:
eMail:
Comment / Feedback: