Home » Open Source » Programming Interfaces » ORA-22835 error
ORA-22835 error [message #418559] Mon, 17 August 2009 05:44 Go to next message
johnsam.gj
Messages: 1
Registered: August 2009
Junior Member
Hi all,

This is John am new to the group and hope that you will help me out in a situation.

m trying to insert an image into database as a Blob.
but it is throwing the following error

ORA-22835 :Buffer too small for BLOB to RAW conversion(actual:80000,maximum:2000)

please help me out.

am using setBinaryStream() method.

Thanks for your help.

John
Re: ORA-22835 error [message #423658 is a reply to message #418559] Sat, 26 September 2009 01:22 Go to previous message
Kevin Meade
Messages: 2103
Registered: December 1999
Location: Connecticut USA
Senior Member
not my area of expertise but to state the obvious, whatever variable is receiving your blob is too small.

Your blob is 8000 bytes big and the raw is only 2000.

Kevin
Previous Topic: temp tablespace becomes full, not released by JDBC thin client ojdbc14.jar
Next Topic: Exact search string match
Goto Forum:
  


Current Time: Thu Mar 28 17:56:26 CDT 2024