Does anyone know if it is possible to pessimistically lock an EJB3 Entity Bean? I would like to lock an Entity from the start of a transaction until the end of a transaction. I want to prevent dirty reads within my application.
i am interested in this too.
I know hibernate support pessimistic locking, but is it possible to enable it for ejb3 entity beans and ejb3 container managed transactions?
thanks for any answer..