diff --git a/xwiki-platform-tools/xwiki-configuration-resources/src/main/resources/hibernate.cfg.xml.vm b/xwiki-platform-tools/xwiki-configuration-resources/src/main/resources/hibernate.cfg.xml.vm index d6ddc8dcaa6f0a5af435176da626a6ab3e21bdea..1656dd89cda7bdd867f670e9b4360cf5fcbb2b64 100644 --- a/xwiki-platform-tools/xwiki-configuration-resources/src/main/resources/hibernate.cfg.xml.vm +++ b/xwiki-platform-tools/xwiki-configuration-resources/src/main/resources/hibernate.cfg.xml.vm @@ -28,6 +28,8 @@ <property name="dbcp.ps.maxActive">20</property> <property name="dbcp.ps.maxWait">120000</property> <property name="dbcp.ps.maxIdle">20</property> + <!-- Without it, some queries fail in MS SQL. XWiki doesn't need scrollable result sets, anyway. --> + <property name="jdbc.use_scrollable_resultset">false</property> <!-- Configuration for the default database. Comment out this section and uncomment other sections below if you want to use another database.