- Is there a way to tell JBPM where the jbpm.hibernate.cfg.xml file is?
Yes, you can specify that in your jbpm.cfg.xml file as follows:
<jbpm-configuration> .... <process-engine-context> .... <hibernate-configuration> <cfg resource="custom-jbpm.hibernate.cfg.xml" /> </hibernate-configuration> .... </process-engine-context> .... </jbpm-configuration>
There are three ways of providing location to the file:
- resource attribute to select from classpath
- file attribute to select from file system
- url attribute
- Is there a place where I can find the documentation about all the configurations I can setup with the jbpm.cfg.xml? I could't find any documentation about how to edit such file.
Unfortunately there is probably no official documentation as far as I know, but source code is quite good to get such information.
Thank you very much!
That was what I was searching for!