好像要在数据库中写程序是吗?
发信人: zdragon (Dragon), 信区: Java       
标  题: 刚才看了Bea的文档about CMP & BLOB
发信站: BBS 水木清华站 (Thu Apr 10 00:06:23 2003)
In 6.1 service pack 2, if you are using Blob/Clob, you have to set <isolation-
level> to TRANSACTION_READ_COMMITTED_FOR_UPDATE. Otherwise, you will get the f
ollowing exception:
java.io.IOException: ORA-22920: row containing the LOB value is not locked
If this happens, when using Blob/Clob, the container will lock all the tables 
within the transaction. In 6.1 service pack 3, you don't need to set <isolatio
n-level> to TRANSACTION_READ_COMMITTED_FOR_UPDATE anymore. The container will 
only lock the table that contains the Blob/Clob, and the other table within th
e transaction will not be locked. This make Blob/Clob much easier to use.