Newer
Older
CosmosServer / src / main / resources / Token.hbm.xml
n-kande on 2 Jul 2019 679 bytes not-uull
  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="com.example.cosmos_serversb.entities">
  14.  
  15. <class name="Token" table="TOKEN">
  16. <id name="token" column="TOKEN">
  17. </id>
  18. <property name="uId" column="UID" not-null="true"/>
  19. </class>
  20.  
  21. </hibernate-mapping>