XWIKI-9539: Error in the console when migrating from 4.5.4 to 5.2 on HyperSQL
(cherry picked from commit c94339188a49731491d5fe6894af9427f7df1e3d)