I need to insert a PDF of size 800 kb into oracle data base, using Java I tried set Bytes and set Binary stream. It seems both of them do not support this size of 800 kb.
When i get a blob and try to use SetBytes(), I am getting this exception:
"java.sql.SQLException: Unsupported feature"
If i give Max_Value, I am getting java.lang.OutOfMemoryError error.
If i give the size of input stream as parameter for setBinaryStream, I am getting an RT exception saying "Data size bigger than max size for this type: 68823"
68823 is the lenght of the stream that i am trying to store in the data base.