JBoss Community

database schema recreation while creating ProcessEngine object

created by parvathy j a in jBPM - View the full discussion

Hi i saw that creating a process engine code is  ProcessEngine processEngine = new Configuration().setResource("jbpm.cfg.xml").buildProcessEngine();  but when ever i run this code for my diff test case, the database schema itself will be recreated and all the data will be lost...  Could anyone tell me how to create a ProcessEngine object only once for my application..so it can be used in my diff files...and this database recreation pblm will be solved...

Reply to this message by going to Community

Start a new discussion in jBPM at Community