Both persistence unit are configured against the same database?
This test should be working and persisting everything in the database: https://github.com/Salaboy/Drools_jBPM5-Training-Examples/blob/master/jbpm5/04-jBPM5-PersistentEmergencyServiceProcess/src/test/java/com/wordpress/salaboy/examples/PersistentEmergencyProcessTest.java
Take a look there and the configurations.. Cheers
Reply to this message by going to Community
Start a new discussion in jBPM Development at Community