Hello, I am using JBoss 4.0.3 and DB2 8.1. I would to obtain a pessimistic lock (row lock) for my entity bean's findByPrimaryKey() method. So, I have the row-locking set to true in my jbosscmp-jdbc.xml file and also set the row-locking-template for DB2 to "SELECT ?1 FROM ?2 WHERE ?3 FOR UPDATE" in the standardjbosscmp-jdbc.xml file.
However, I don't see any select for update when the findByPrimaryKey() method is invoked. Is this a known issue with JBoss, or am I doing something amiss here? Thanks, Liem View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3932446#3932446 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3932446 ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ JBoss-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-user
