[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: findByPrimaryKey and locking
Oyabun
do-not-reply at jboss.com
Tue Oct 10 06:09:14 EDT 2006
anonymous wrote : All jboss does if row-locking is true is just adds FOR UPDATE (or another sb-specific template) to SELECT. Everything else is db/driver's responsibility.
It doesn't add FOR UPDATE to findByPrimaryKey()... even though it doesn't use DISTINCT. It looks like findByPrimaryKey() doesn't use the row locking template, which ist bad IMO.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977184#3977184
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977184
More information about the jboss-user
mailing list