From version < 5.2 >
edited by Vincent Massol
on 2012/02/14
To version < 5.3 >
edited by Denis Gervalle
on 2012/09/11
< >
Change comment: Add a remark about not copying custom mapping with the class

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.VincentMassol
1 +XWiki.dgervalle
Content
... ... @@ -56,3 +56,5 @@
56 56  )))
57 57  
58 58  Once these 3 steps have been done, loading and saving of your XClass will go in the table you've defined in your custom Hibernate mapping file.
59 +
60 +{{info}}Since XWiki 3.5.2, 4.1.4, and 4.2M3, copying a document containing a custom mapped class does not make the copied class custom mapped anymore. This has been introduced to avoid the newly created class to be unusable and inconsistent with the available mapping.{{/info}}

Get Connected