generating class from hibernate mapping file
- by Mrityunjay
hi,
i have one mapping file viz. student.hbm.xml.. i need to generate Student.java from the same. the file is below :-
<?xml version="1.0" encoding="UTF-8"?>
<hibernate-mapping>
<class name="org.hibernate.entity.ClassRoom" table="class_room">
<id name="roomId" column="room_id" type="int"/>
<property name="roomClass" column="room_class" type="string"/>
<property name="floor" column="floor" type="int"/>
<property name="roomMaster" column="room_mast" type="string"/>
</class>
</hibernate-mapping>
is there any way i can create the class file from the above file.please help...