I would like to store all my process instances and their events in a database.
To enable this, I was looking into the userguide
http://docs.jboss.org/jbpm/v5.4/userguide/ch.core-persistence.html#d0e4086
First it says that I need to configure my own session, attach a logger to it and modify the persistence .xml
How do I persist this information if I use the REST URL?