Hi,
you could try with your own imlementation of DbPersistenceServiceFactory (org.jbpm.persistence.db.DbPersistenceServiceFactory) class that in fact loads the hibernate configuration file.
There service factory class is configured in jbpm.cfg.xml (default.jbpm.cfg.xml) file. You could try to override getConfiguration method with your specific implementation.
HTH
Maciej