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


<?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.Course" table="course"> 
  <id name="CId" type="java.lang.Integer"> 
   <column name="c_id"/> 
   <generator class="identity"/> 
  </id> 
  <property generated="never" lazy="false" name="CName" type="java.lang.String"> 
   <column length="20" name="c_name"/> 
  </property> 
  <property generated="never" lazy="false" name="CHour" type="java.lang.Integer"> 
   <column name="c_hour"/> 
  </property> 
  <set inverse="true" name="course_teachers" sort="unsorted"> 
   <key> 
    <column name="c_id"/> 
   </key> 
   <one-to-many class="models.Course_teacher"/> 
  </set> 
 </class> 
</hibernate-mapping>