From version 1.1 >
edited by Vincent Massol
on 2019/05/22
To version < 2.1 >
edited by Thomas Mortagne
on 2019/06/03
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.VincentMassol
1 +XWiki.ThomasMortagne
Content
... ... @@ -61,10 +61,21 @@
61 61  ** ##hibernate.cfg.xml##
62 62  * Add ##xwiki.store.migration=1## in ##xwiki.cfg## so that XWiki will attempt to automatically migrate your current database to any new schema. Make sure you backup your Database before doing anything.
63 63  
64 -== Issues specific to XWiki <version> ==
64 +== Issues specific to XWiki 11.5RC1 ==
65 65  
66 -<issues specific to the project>
66 +=== XWiki now require JDBC 4.2 ===
67 67  
68 +In practice it just means you need to make sure the database connector you are using is not too old (JDBC 4.2 came with Java 8 so you should be fine if you downloaded the connector in recent years).
69 +
70 +=== Hibernate 5.4.x upgrade ===
71 +
72 +Hibernate has (finally) been upgraded to the very last version. While it means you will benefit from bugfix/improvement/new features it's also a huge jump (previous version was close to 10 years old) and you will probably have issues if you are directly manipulating Hibernate APIs or some library expecting a much older version of Hibernate. You can find the details on https://github.com/hibernate/hibernate-orm/wiki/Migration-Guides but here is an extract from XWiki point of view:
73 +
74 +* HQL '?' based wildcard are not supported anymore at all by Hibernate. We added an automatic converter (to '?1' JPQL style) which seems to work well but it might not be perfect and it's producing a deprecating warning log
75 +* You might need to update your hibernate.cfg.xml file
76 +* various Hibernate classes have been removed or move to different packages
77 +* various Hibernate methods removed from the API or not having eny effect anymore even if still here and deprecated
78 +
68 68  == API Breakages ==
69 69  
70 70  The following APIs were modified since <project> <version - 1>:

Get Connected