dcsimg
Obtaining a lock for update from CMP entity bean to Oracle
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   dikran_seropian
Posted On:   Friday, May 10, 2002 04:20 PM

Hello,
I have a table mapped to a CMP entity bean that contains a Blob field. When I try to make insert using the create() and then setXXX() for the Blob field, I get the error "LOB field:
ORA-22920: row containing the LOB value is not locked
I mention that I use weblogic 6.1 and jbuilder 6.
Until now I haven't been able to implement in any way the "select for update" method for obtaining a lock. Does anybody have an ideea how should it be done?
Thanks in advance

Re: Obtaining a lock for update from CMP entity bean to Oracle

Posted By:   jaivir_singh  
Posted On:   Friday, May 10, 2002 11:19 PM

Hi



Try using a Transactionable Datasource.Do let me know if it worked .If not then can give you an idea about a Clob implementation which I have done , maybe that might help you translating your needs to Blob



Good luck
About | Sitemap | Contact