jBPM3 and jBPM5 are completely different especially in configuration perspective. Anyway what you are looking is a domain specific service that will insert whatever into data base. Take a look at this section in documentation to get you started with it.
And you can always put more questions here.
HTH