How i can update a blob field on db using a stateful session bean?
What does it means:

java.io.IOException ORA-22920: row containing the LOB value is not locked
ORA-06512: at "SYS.DBMS_LOB", line 700
ORA-06512: at line 1

my code is:

resSet = pstmt.executeQuery(cmd);
resSet.next();
blob = ((OracleResultSet) resSet).getBLOB(1);
out = blob.getBinaryOutputStream();
out.write(<byte array>);

Can anybody help me please?

Tanks in advance.


Riccardo.
----------------------------------------------
Virgilio Mail - Il tuo indirizzo E-mail gratis
http://mail.virgilio.it

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to