On Mon, 18 Jul 2011 17:28:19 -0300, tompeter <i...@tomkrause.com> wrote:

It is not possible that a second user reads the entity before the
HibernateSessionManager has committed the changes of User 1? I ask because I use injected org.hibernate.Session for reading the values.

This isn't related to Tapestry at all, just to Hibernate itself, but the answer is yes. If you want to add an automatic check for it, check the otimistic lock section in the Hibernate documentation.

--
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate consultant, developer, and instructor
Owner, Ars Machina Tecnologia da Informação Ltda.
http://www.arsmachina.com.br

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to