JBoss Community

JPBM persistence and transaction Questions

created by Sam Mano in jBPM - View the full discussion

Hello,

 

I have some questions based on my understanding, please correct me if I am wrong, If I am right please guide me through my questions...thanks in advance...

 

My Understanding:

task (taskid, session id) is belongs to process (process id , session id), task no longer valid without process reference (I am talking about persistence in JBPM)

 

My questions?

1. Do we really need separate persistence.xml file for each humantask persistence and process persistence?

2. Why there is a two types of transaction used in this persistence (like  JTA-process, resource local for - task)?

3. Is it possible to create one persistence.xml file to handle JBPM persistence (both process and humantask)?

4. Do I need two schema (one for process table and one for task tables)?

 

kindly invite you all to participate in this discussion...

 

thanks,

Reply to this message by going to Community

Start a new discussion in jBPM at Community