[jboss-dev-forums] [Design of JBoss jBPM] - Refactoring access to JBPM database