inspect hibernate configuration files to make sure there is no create-drop for ddl stuff.
You can first give a try with demo installation that download, configures and run all for you. Based on this setup you could try to understand how jBPM is configured.