StPrEntity.hbm.xml 671 B

123456789101112131415161718
  1. <?xml version='1.0' encoding='utf-8'?>
  2. <!DOCTYPE hibernate-mapping PUBLIC
  3. "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
  4. "http://www.hibernate.org/dtd/hibernate-mapping-3.0.dtd">
  5. <hibernate-mapping>
  6. <class name="HibernateEntities.StPrEntity" table="st_pr" schema="anketa">
  7. <id name="id">
  8. <column name="id" sql-type="int(11)"/>
  9. </id>
  10. <property name="stId">
  11. <column name="st_id" sql-type="int(11)" length="11" not-null="true"/>
  12. </property>
  13. <property name="prId">
  14. <column name="pr_id" sql-type="int(11)" length="11" not-null="true"/>
  15. </property>
  16. </class>
  17. </hibernate-mapping>