Fix hibernate SQL Server dialect to work properly with XWiki