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 |