problem in insert into database

'Inserting BLOB Values with setBinaryStream() Method' tutorial was cited in a StackOverflow forum post in 2011.

The Inserting BLOB Values with setBinaryStream() Method tutorial was cited in a StackOverflow forum post in 2011.

Subject: problem in insert into database
Date: Apr 11, 2011
Author: rima
Source: http://stackoverflow.com/questions/5626793
   /problem-in-insert-into-database

> Dear friends I try to run this query in oracle database but 
> unfortunately I receive this error please help me :(
> 
> java.sql.SQLException: ORA-01460: unimplemented or unreasonable 
> conversion requested right now that problem solved and I have an 
> other exception: I change this line
> 
>  pstmt.setBinaryStream(7, fis, (int) file.length());
> 
> with
> 
>  pstmt.setBinaryStream(7, fis, (long) file.length());
> 
> Exception in thread "AWT-EventQueue-0" java.lang.AbstractMethodError:
> oracle.jdbc.driver.OraclePreparedStatement.setBinaryStream(ILjava/io
> /InputStream;J)V
> 
> for text file there is no issue, but when I try to upload a JPG file 
> I receive this error.
...

javanna I have same problem that this person faced herongyang.com/JDBC
/Oracle-BLOB-setBinaryStream.html but I try all of them I have problem 
with all of them~!
...

Table of Contents

 About This Book

 Reference Citations in 2016

 Reference Citations in 2015

 Reference Citations in 2014

 Reference Citations in 2013

 Reference Citations in 2012

Reference Citations in 2011

 Simplified Chinese Unicode table

 How to Edit a Mobile Registry With Commander

 OpenSSL in Ruby

 Utilisation de la JVisualVM en remote via jstatd

 OpenOffice.org Newsletter - April 2011

 AES Encryption / Decryption with Java 1.5 and ActionScript as3crypto

problem in insert into database

 2X Gateway SSL

 Creating Installer

 Implement statement batch for Connector C++

 Twitter OAuth Library/HUD

 How to connect Oracle data base

 regexParser.cpp

 gloria.tv downloader

 SET IDENTITY_INSERT for table fails

 Winsock TCP buffering behaviour

 Passing Array in Function

 Reference Citations in 2010

 Reference Citations in 2009

 Reference Citations in 2008

 Reference Citations in 2007

 Reference Citations in 2006

 Reference Citations in 2005

 Reference Citations in 2004

 Reference Citations in 2003

 PDF Printing Version