if the xml database is supported by hinernate you can. Otherwise no. At least not for the jbpm database/tables. You can however store your own data in a completely different database and store references to that data in the jBPM process variables.