Michael Wohlfart [
http://community.jboss.org/people/mwohlf] created the discussion
"Re: [jBPM4.2] - Entity Manager"
To view the discussion, visit:
http://community.jboss.org/message/575899#575899
--------------------------------------------------------------
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
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/575899#575899]
Start a new discussion in jBPM at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]