3 Replies Latest reply on Apr 7, 2006 3:09 PM by kukeltje

    hibernate.properties doesn't always override hibernate.cfg.x

    fptoth

      Hi,

      This is related to my earlier post on problems with the jbpm-db project. I've just finished a quick test of deploying processes with ant. It's working fine, but only after I had the same problem I described earlier.

      Namely, when using hibernate.properties to override hibernate.cfg.xml, the deploy process starts properly. The logs report the correct database, login, password, etc. However, later in the deployment, hibernate starts trying to talk to hypersonic (hsqldb). The logs show the default stuff from hibernate.cfg.xml. This of course causes failures.

      Once I stopped using hibernate.properties, and created a custom hibernate.cfg.xml, everything worked fine.

      I can post logs of this if anyone is interested.

      Thanks,

      Fred