# \#hibernate

**URL:** https://forum.xwiki.org/tag/hibernate/405.md

[Latest](https://forum.xwiki.org/latest.md) · [Categories](https://forum.xwiki.org/categories.md) · [Tags](https://forum.xwiki.org/tags.md)

---

## [Hibernate.cfg.xml in XWiki 18.8.0](https://forum.xwiki.org/t/hibernate-cfg-xml-in-xwiki-18-8-0/19012)

<div class="topic-metadata">

**Author:** [@Ricardo\_Rodriguez](https://forum.xwiki.org/u/Ricardo_Rodriguez)\
**Replies:** 0\
**Last updated:** [October 21, 2026, 8:42pm UTC](https://forum.xwiki.org/t/hibernate-cfg-xml-in-xwiki-18-8-0/19012 "2026-10-21T20:42:51Z")

</div>

Hi! I just updated from XWiki 18.8.0 to XWiki 18.9.0 on an Ubuntu 22.04.5 LTS box. By inspecting the differences in the main config files included in the downloaded WAR file, I found the following block in hibernate.cfg…

---

## [java.sql.SQLException: Incorrect string value: '\\xAE Data...' for column 'XWR\_PATCH' at row 1](https://forum.xwiki.org/t/java-sql-sqlexception-incorrect-string-value-xae-data-for-column-xwr-patch-at-row-1/11662)

<div class="topic-metadata">

**Author:** [@tracesbs](https://forum.xwiki.org/u/tracesbs)\
**Replies:** 3\
**Last updated:** [January 11, 2023, 12:50pm UTC](https://forum.xwiki.org/t/java-sql-sqlexception-incorrect-string-value-xae-data-for-column-xwr-patch-at-row-1/11662 "2023-01-11T12:50:16Z")

</div>

Hi, I’ve gone through quite a lot of work to move our XWiki 5.0 installation on JDK 6, Tomcat 7 and MySQL 5.6 up to XWiki 14.10.2 on JDK 11, Tomcat 9.0 against MySQL 8.0. I took the following steps to get there taking …

---

## [Configuring XWiki. MySQL as database: hibernate properties](https://forum.xwiki.org/t/configuring-xwiki-mysql-as-database-hibernate-properties/9379)

<div class="topic-metadata">

**Author:** [@Ricardo\_Rodriguez](https://forum.xwiki.org/u/Ricardo_Rodriguez)\
**Replies:** 0\
**Last updated:** [November 1, 2021, 3:15pm UTC](https://forum.xwiki.org/t/configuring-xwiki-mysql-as-database-hibernate-properties/9379 "2021-11-01T15:15:23Z")

</div>

Hi! While configuring a brand new XWiki installation running XWiki 13.9 using MySQL 8.0.26 for Linux on x86\_64 (Source distribution) I’m facing some doubts about the required changes in the hibernate.cfg.xml file. By now…
