Hello,
in your case you prevent a lock if using the method getUuid.
Any other method include findBy... will set a lock if declared.
You can set the transaction of getter, finder to "Supports" and setter/create to
Mandatory/Required.
If you use a Session without a transaction reads to the bean will not lock.
It can be helful to log the TX
http://www.jboss.org/index.html?module=bb&op=viewtopic&t=59031
<category name="org.jboss.tm">
| <priority value="TRACE"
class="org.jboss.logging.XLevel"/>
| </category>
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3983679#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...