0 Replies Latest reply on Jan 5, 2006 1:54 AM by Viet

    CMS autocommit config bug ?

    Viet Master

      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);

      then it solved the NPE issue, is it correct or am I missing something ?