[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: read-only
wdfink
do-not-reply at jboss.com
Tue Nov 7 04:59:28 EST 2006
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#3983679
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3983679
More information about the jboss-user
mailing list