Changed id behaviour to increment
Signed-off-by: Jim Martens <github@2martens.de>
This commit is contained in:
@ -5,7 +5,7 @@
|
|||||||
<hibernate-mapping>
|
<hibernate-mapping>
|
||||||
<class name="de.dis2013.data.Makler" table="estateagent">
|
<class name="de.dis2013.data.Makler" table="estateagent">
|
||||||
<id name="id" column="id">
|
<id name="id" column="id">
|
||||||
<generator class="native" />
|
<generator class="increment" />
|
||||||
</id>
|
</id>
|
||||||
<property name="name" type="string" column="name" />
|
<property name="name" type="string" column="name" />
|
||||||
<property name="adresse" type="string" column="adress" />
|
<property name="adresse" type="string" column="adress" />
|
||||||
|
|||||||
@ -5,7 +5,7 @@
|
|||||||
<hibernate-mapping>
|
<hibernate-mapping>
|
||||||
<class name="de.dis2013.data.Person" table="person">
|
<class name="de.dis2013.data.Person" table="person">
|
||||||
<id name="id" column="id">
|
<id name="id" column="id">
|
||||||
<generator class="native" />
|
<generator class="increment" />
|
||||||
</id>
|
</id>
|
||||||
<property name="vorname" type="string" column="firstname" />
|
<property name="vorname" type="string" column="firstname" />
|
||||||
<property name="nachname" type="string" column="name" />
|
<property name="nachname" type="string" column="name" />
|
||||||
|
|||||||
Reference in New Issue
Block a user