2 Replies Latest reply on Dec 18, 2009 4:14 AM by jbarrez

    setHibernateSessionFactory() ... using GRAIL's session facto

    edeleflie

      I'm trying to use GRAILS's pre-configured Hibernate session factory to create the ProcessEngine instance.

      processEngine = new Configuration().setHibernateSessionFactory(grailsSessionFactory)

      ... this seems to work ... and the processEngine is not null. However, when I do:

      repositoryService = processEngine.getRepositoryService()

      then the reposirotyService is null. Has anyone ever managed to correctly use the .setHibernateSessionFactory() method?

      Etienne