I'm trying to build my implementation of IdentitySession.
Do you have any suggestion to take the db session?
In the standard IdentitySession implementation, the session is injected throught the wiring mechanism. There is a way to do it in the same manner?
Sorry but I'm new to jbpm
You could get DbSession from Environment. like this:
DbSession dbSession = EnvironmentImpl.getFromCurrent(DbSession.class);
And of course, you could inject DbSession as your mentioned.
<object class="yourIdentitySession" auto-wire="true"/>