[jboss-user] [jBPM] - no environment to get org.jbpm.pvm.internal.id.DbidGenerator
HuiSheng Xu
do-not-reply at jboss.com
Fri Aug 27 05:10:40 EDT 2010
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&containerType=14&container=2034]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20100827/e4d624c8/attachment.html
More information about the jboss-user
mailing list