Specifying True causes the select for update extension to be used whenever the bean is loaded from the database and hold that lock for the duration of the transaction.
选择True会使只要从数据库加载bean,就会使用select for update扩展,并在事务持续过程中维持锁定。
In the pessimistic locking scheme, explicit locks are taken against rows using the SQL SELECT FOR UPDATE statement. Data is then modified, and an SQL UPDATE is issued.
在悲观锁定方案中,通过使用SQL SELECT FOR update语句对数据行进行显式锁定,然后更改数据,并执行SQL UPDATE。
To find the EJBs that use select for update extension, search the weblogic-cmp-rdbms-jar.xml files for this element, noting the EJB project and the EJB name where it is used
要查找使用 select for update 扩展的 EJB,请搜索 weblogic-cmp-rdbms-jar.xml 文件中的此元素,要注意用到该元素的 EJB 项目和 EJB 名称。
应用推荐