HuiSheng Xu [
http://community.jboss.org/people/rebody] replied to the discussion
"no environment to get org.jbpm.pvm.internal.id.DbidGenerator"
To view the discussion, visit:
http://community.jboss.org/message/559317#559317
--------------------------------------------------------------
HI Jimmy.
If you want to do something what should access database, you have to open an
environment. There is an easy way to do that things.
processEngine.execute(new Command() {
public Object execute(Environment env) {
// do any thing
return null;
}
});
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/559317#559317]
Start a new discussion in jBPM at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]