Newer
Older
CosmosServer / src / test / resources / Request.hbm.xml
<?xml version="1.0"?>

<!--
  ~ Hibernate, Relational Persistence for Idiomatic Java
  ~
  ~ License: GNU Lesser General Public License (LGPL), version 2.1 or later.
  ~ See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>.
  -->
<!DOCTYPE hibernate-mapping PUBLIC
        "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
        "http://www.hibernate.org/dtd/hibernate-mapping-3.0.dtd">

<hibernate-mapping package="hibernateTest.entities">

    <class name="Request" table="REQUEST">
        <id name="rId" column="RID">
        </id>
        <property name="uri" column="URI"/>
        <property name="date" column="DATE"/>
        <property name="issuerUid" column="ISSUERUID"/>
        <property name="product" column="PRODUCT"/>
        <property name="deadline" column="DEADLINE"/>
        <property name="location" column="LOCATION"/>
        <property name="done" column="DONE"/>
    </class>

</hibernate-mapping>