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