1 Reply Latest reply on Jun 6, 2006 5:20 AM by Koen Aers

    org.hibernate.HibernateException: Could not find datasource

    Ricky Donner Newbie

      Hi

      When in my code i do this:

      ProcessInstance processInstance = jbpmContext.newProcessInstance("proc");

      occurs the error:
      org.hibernate.HibernateException: Could not find datasource


      My hibernate.cfg.xml have the following property nodes:

      <!-- jdbc connection properties -->
      org.hibernate.dialect.HSQLDialect
      org.hsqldb.jdbcDriver
      jdbc:hsqldb:hsql://localhost:9001;sql.enforce_strict_size=true
      sa


      <!-- other hibernate properties -->
      true
      true

      - The server is running and the JBPM tables are there...
      - hibernate3.jar and hsqldb.jar are in my lib

      what could be the problem?

      Thanks in advance!