[jboss-dev-forums] [Design of JBoss Portal] - Re: portal clustering problem when using optimistic locking

bstansberry@jboss.com do-not-reply at jboss.com
Thu Jul 17 12:21:01 EDT 2008


Prabhat,

Can you try your tests with your cache configured for READ_COMMITTED instead of REPEATABLE_READ? Once a tx reads an item from the 2nd Level Cache, Hibernate caches it in the Session object and doesn't need to go back to the 2LC for that same object.  So there should be no benefit to REPEATABLE_READ.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4165111#4165111

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4165111



More information about the jboss-dev-forums mailing list