How to delete/persist your JBPM process after restart ?

User Rating: 0 / 5

Star InactiveStar InactiveStar InactiveStar InactiveStar Inactive
 

JBoss recipe of the day

The hibernate property "hbm2ddl.auto" controls what to do with persisted process data once the JBoss server is shut down or the application is redeployed.

By default you have:

<property name="hbm2ddl.auto">update</property>

which keeps the database updated at every restart. However if you change it to :

<property name="hbm2ddl.auto">drop-create</property>

then every time the database will be dropped and created. That's an option if you are just testing your process and you dont' want to fill the DB with useless data.

Related articles available on mastertheboss.com

JBPM tutorial

JBoss jBPM 3 is a flexible, extensible framework for process lang

How do I fire an action every time a JBPM Node enters?

JBoss recipe of the day

JBoss Jbpm superstates

What is a superstate ? a Superstate is a group of nodes. Supersta

Jbpm Mail delivery

Almost every workflow needs a notification of the process activit

How do you embed Java code in your JPDL ?

  You can use a BeanShell expression to add a Java script in you

JBPM best practices

There's no perfect rule to model your workflow, it depends on the

Follow us on Twitter