Hi
Can anyone please guide me how to get the Entity Manager from jBPM API.
Thanks!
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