Hi,

I have some questions regarding optimistic locking.

1) Can it happen in my container managed bean?

2) How can I deal with it? Can I find out if my container just started
the transaction? Can I repeat the transaction it in this case?

3) As far as I would guess optimistic locking does not lock the
database, so concurrent transaction can be executed on the same data
without delay regardless if they write or read? I.e if a whole
transaction will last 5 seconds where multiple services are involved,
within these 5 seconds also other transactions from the same bean can be
started and handled?

Regards,
Karsten

_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to