Dear , When I insert data into blob and long raw field of oracle database table. always having the error: java.sql.SQLException: Data size bigger than max size for this type:
I am using Oracle 9i. and I know that my program code in Oracle 8 is fine without any error.. Therefore, the problem occurs in Oracle 9i. Do you have any suggestion that I have to modify my program code in order to fit the Oracle 9i.
LONG RAW is a legacy data type in Oracle. Use an appropriate LOB datatype instead - LONGs can store 2GB, LOBs can store 4GB (plus there are other good reasons for favouring LOB over LONG RAW, which you will be able to read about in the Oracle documentation).