I am working on a Struts application using DB2 JDBC Type 4 Driver.
By default, the Java Connection is autocommit and everything works fine for me,
except with CLOB data type
I have a table with one CLOB column (32000 bytes). After I update the column, I issue an explicit commit just to make sure. And for some reason, a "lock" is put on that record. I can not select anything from that record any more unless
I shutdown the Struts application then I can select that record from the DB2 command line.
Does any one have any idea on this thing ? I don't think there is a lock on that record at all although everything behaves like there is a read lock on the record.
Please help.
By default, the Java Connection is autocommit and everything works fine for me,
except with CLOB data type
I have a table with one CLOB column (32000 bytes). After I update the column, I issue an explicit commit just to make sure. And for some reason, a "lock" is put on that record. I can not select anything from that record any more unless
I shutdown the Struts application then I can select that record from the DB2 command line.
Does any one have any idea on this thing ? I don't think there is a lock on that record at all although everything behaves like there is a read lock on the record.
Please help.
Comment