Changes for page Custom Mapping

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

From version 7.4
edited by Djebloun Sidali
on 2014/03/30
Change comment: There is no comment for this version
To version 7.6
edited by Vincent Massol
on 2017/09/01
Change comment: Update document after refactoring.

Summary

Details

Page properties
Parent
... ... @@ -1,1 +1,1 @@
1 -DevGuide.WebHome
1 +xwiki:Documentation.DevGuide.WebHome
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.Sidali
1 +XWiki.VincentMassol
Content
... ... @@ -4,9 +4,8 @@
4 4  
5 5  1. Define the actual Hibernate mapping for your XClass, in a ##hbm.xml## file (see the example below). This file should then be made available somewhere in the CLASSPATH (##WEB-INF/classes## or in your own JAR file that you put in ##WEB-INF/lib##).(((
6 6  
7 +{{info}}You can also use the [[Custom Mapping Application>>extensions:Extension.Custom mapping tool]] extension to generate the ##hbm## file.{{/info}}
7 7  
8 -{{info}} You can use the [[Custom Mappin tool>>extensions:Extension.Custom mapping tool]] extention to generate the hbm file {{/info}}
9 -
10 10  Example Mapping file (##mailinglist.hbm.xml##):
11 11  
12 12  {{code language="xml"}}

Get Connected