www.pudn.com > Desktop.rar > Student_course.hbm.xml, change:2012-12-28,size:933b


<?xml version="1.0" encoding="utf-8"?> 
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" 
                                   "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd"> 
<!-- 
    Mapping file autogenerated by MyEclipse Persistence Tools
--> 
<hibernate-mapping> 
 <class catalog="final" name="models.Student_course" table="student_course"> 
  <composite-id class="models.Student_courseId" mapped="false" name="id" unsaved-value="undefined"> 
   <key-many-to-one class="models.Student" name="student" lazy="false"> 
    <column name="stu_id"/> 
   </key-many-to-one> 
   <key-many-to-one class="models.Course_teacher" name="course_teacher" lazy="false"> 
    <column name="c_t_id"/> 
   </key-many-to-one> 
  </composite-id> 
  <property generated="never" lazy="false" name="grade" type="java.lang.Integer"> 
   <column name="grade"/> 
  </property> 
 </class> 
</hibernate-mapping>