Newer
Older
CosmosServer / src / test / resources / Belong.xml
  1. <?xml version="1.0"?>
  2.  
  3. <!--
  4. ~ Hibernate, Relational Persistence for Idiomatic Java
  5. ~
  6. ~ License: GNU Lesser General Public License (LGPL), version 2.1 or later.
  7. ~ See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>.
  8. -->
  9. <!DOCTYPE hibernate-mapping PUBLIC
  10. "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
  11. "http://www.hibernate.org/dtd/hibernate-mapping-3.0.dtd">
  12.  
  13. <hibernate-mapping package="hibernateTest.entities">
  14.  
  15. <class name="Belong" table="BELONG">
  16. <composite-id>
  17. <key-property name="uId" />
  18. <key-property name="gId" />
  19. </composite-id>
  20. </class>
  21.  
  22. </hibernate-mapping>