Changes for page Custom Mapping

Last modified by Alex Cotiugă on 2022/10/12

From version 5.12
edited by Vincent Massol
on 2014/03/13
Change comment: fix xml
To version 6.1
edited by SebastianKnoche
on 2014/03/13
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.VincentMassol
1 +XWiki.SebastianKnoche
Content
... ... @@ -12,7 +12,10 @@
12 12   "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
13 13  <hibernate-mapping>
14 14   <class entity-name="Mailing.MailingMemberClass" table="mailing">
15 - <id name="id" type="integer" unsaved-value="any"><column name="mam_id" not-null="true" /><generator class="assigned" /></id>
15 + <id name="id" type="long" unsaved-value="undefined">
16 + <column name="ID_ColumnName" not-null="true" />
17 + <generator class="assigned" />
18 + </id>
16 16   <property name="member" type="text"><column name="mam_member" /></property>
17 17   <property name="to" type="text"><column name="mam_to" /></property>
18 18   <property name="from" type="text"><column name="mam_from" /></property>

Get Connected