Added schema to mapping files

Signed-off-by: Jim Martens <github@2martens.de>
This commit is contained in:
2017-05-01 15:52:53 +02:00
parent 6b796d80c1
commit 8a513bf892
3 changed files with 5 additions and 5 deletions

View File

@ -3,7 +3,7 @@
"-//Hibernate/Hibernate Mapping DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
<hibernate-mapping>
<class name="de.dis2013.data.Immobilie" table="estate">
<class name="de.dis2013.data.Immobilie" table="estate" schema="VSISP12">
<id name="id" column="id">
<generator class="increment" />
</id>
@ -14,13 +14,13 @@
<property name="flaeche" type="integer" column="squarearea" />
<many-to-one name="verwalter" class="de.dis2013.data.Makler" column="agent" not-null="true" />
<joined-subclass name="de.dis2013.data.Haus" table="house">
<joined-subclass name="de.dis2013.data.Haus" table="house" schema="VSISP12">
<key column="id"/>
<property name="stockwerke" type="integer" column="floors" />
<property name="kaufpreis" type="integer" column="price" />
<property name="garten" type="boolean" column="garden" />
</joined-subclass>
<joined-subclass name="de.dis2013.data.Wohnung" table="apartment">
<joined-subclass name="de.dis2013.data.Wohnung" table="apartment" schema="VSISP12">
<key column="id"/>
<property name="stockwerk" type="integer" column="floor" />
<property name="mietpreis" type="integer" column="rent" />

View File

@ -3,7 +3,7 @@
"-//Hibernate/Hibernate Mapping DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
<hibernate-mapping>
<class name="de.dis2013.data.Makler" table="estateagent">
<class name="de.dis2013.data.Makler" table="estateagent" schema="VSISP12">
<id name="id" column="id">
<generator class="increment" />
</id>

View File

@ -3,7 +3,7 @@
"-//Hibernate/Hibernate Mapping DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
<hibernate-mapping>
<class name="de.dis2013.data.Person" table="person">
<class name="de.dis2013.data.Person" table="person" schema="VSISP12">
<id name="id" column="id">
<generator class="increment" />
</id>