Vinnibabu singu wrote:using photoStream.available() actually raised the same exception ....so i think the exception may be not due to that parameter.
Scott Selikoff wrote:Is there a reason you all are avoiding "photoStream.available()"? You're reading data from the stream so you should use a stream parameter to determine how much to read. Using the photo.length() is not valid to me since there's no guarantee photo.length() and photoStream.available() are actually the same value. Either way, its safer to use a stream parameter to read from the stream.
Vinnibabu singu wrote:Thanks alot for your answers....
I am using jdk 1.6 and Microsoft Odbc for oracle
Oracle 8.x-specific data types, such as CLOB, BLOB, BFILE, NCHAR, NCLOB, and NVARCHAR2, are not supported.