JBoss Community

no environment to get org.jbpm.pvm.internal.id.DbidGenerator

reply from HuiSheng Xu in jBPM - View the full discussion

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

Start a new discussion in jBPM at Community