Mauricio Salatino [http://community.jboss.org/people/salaboy21] created the 
discussion

"Re: Clustering strategy for jBPM5"

To view the discussion, visit: http://community.jboss.org/message/625848#625848

--------------------------------------------------------------
I'm not suggesting anything, but that's how transactional databases work. If 
you get two connections from different places that modifies the same row in the 
database one will success and the other will fail. The expcetion is clear about 
that: 
javax.persistence.OptimisticLockException

It's not a jbpm5 problem, its how databases work. If you not ensure that two 
thread can keep everything consistent one needs to fail.

In which scenario are you getting that exception? what are you trying to 
achieve?

Best regards
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/625848#625848]

Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to