RE: Unit tests for concurrent transactions

2008-09-09 Thread Marcin Kwapisz
Great, thanks for the example. We will try to prepare unit tests for concurrent transactions definitely (and publish as an solution/example). [Marcin Kwapisz] Best regards -- Marcin Kwapisz Division of Computer Networks Technical Univeristy of Lodz, Poland

Unit tests for concurrent transactions

2008-09-08 Thread Marcin Kwapisz
Hi, I would like to make unit tests for concurrent transactions, for example to check optimistic locking. Is it possible to perform such tests with embedded OpenEJB? If the answer is: yes, how can I control the order of operations in two concurrent transactions. Thanks in advance Regards

Re: Unit tests for concurrent transactions

2008-09-08 Thread David Blevins
On Sep 8, 2008, at 4:25 AM, Marcin Kwapisz wrote: I would like to make unit tests for concurrent transactions, for example to check optimistic locking. Is it possible to perform such tests with embedded OpenEJB? If the answer is: yes, how can I control the order of operations in two