3 Replies Latest reply on Sep 20, 2010 8:28 AM by mwohlf

    database schema recreation while creating ProcessEngine object

    parvathy

      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...