jBPM4 uses hibernate session internally, so the closest thing to an EntityManager you can get from jBPM4 is a HibernateSession wrapper, try
DbSessionImpl dbSession = EnvironmentImpl.getFromCurrent(DbSessionImpl.class);
in an execute() method or command instance