I have modified the hibernate PMs because the autocommit property given by jackrabbit was null and raised an NPE in hibernate config.
I replaced the code :
hibernateConfiguration.setProperty("hibernate.connection.autocommit", getAutocommit());
String autocommit = getAutocommit(); if (autocommit == null) { autocommit = "false"; } hibernateConfiguration.setProperty("hibernate.connection.autocommit", autocommit);