represents the connection to the jbpm database.
You can obtain a DbSession with
DbSession dbSession = dbSessionFactory.openDbSession();
or
Connection jdbcConnection = ...;
DbSession dbSession = dbSessionFactory.openDbSession(jdbcConnection);
The actual database operations are defined in the module sessions :
The easiest way to obtain the operations is like this :
jbpmSession.getGraphSession().someGraphDbMethod(...)
jbpmSession.getTaskMgmtSession().someTaskDbMethod(...)
jbpmSession.getLoggingSession().someLoggingDbMethod(...)
jbpmSession.getContextSession().someFileDbMethod(...)
jbpmSession.getFileSession().someFileDbMethod(...)
org.jbpm.tc.ContextBuilderorg.jbpm.tc.db.JbpmSessionContext |