Hi there,
jBPM5 is using JPA and Hibernate for persistence. You should take a look at hibernate docs about how to set up each database. Are you having troubles with some database in particular? You should take a look at the persistence.xml file where the persistence unit is being defined, there you can change the database configuration to any supported databases in hibernate.
Cheers