Michael Wohlfart [
http://community.jboss.org/people/mwohlf] replied to the discussion
"Get subprocess id from outside the process"
To view the discussion, visit:
http://community.jboss.org/message/555458#555458
--------------------------------------------------------------
that's interesting,
the following code should check for the hibernate session in your environment:
processEngine.execute(
new Command(){
public String execute(Environment env){
org.hibernate.Session session = env.get(org.hibernate.Session.class);
System.out.println("session is: " + session);
return null;
}
}
);
if it is null you might have a problem in the session config for your tests, but then
there should be way more problems, are you running other tests that pass? Also note you
had "exectution" and "execution" in the code fragment.
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/555458#555458]
Start a new discussion in jBPM at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]