I am not sure if this is related... but I just read the following from
jdk1.2.2 javadoc:

java.io
Class StringBufferInputStream

java.lang.Object
  |
  +--java.io.InputStream
        |
        +--java.io.StringBufferInputStream

Deprecated. This class does not properly convert characters into bytes. As
of JDK 1.1, the preferred
way to create a stream from a string is via the StringReader class.

which jdk version and jdbc driver are you using?


>From: "Massoud N. Kohan" <[EMAIL PROTECTED]>
>
>Hi all
>I am trying to send a big text file to Access table's but I got this error
>message:
>"java.sql.SQLException: Driver does not support this function error "
>my code:
>PreparedStatement prestatmt=conect.prepareStatement(query);
>InputStream strmn=new StringBufferInputStream(content);
>prestatmt.setAsciiStream(1,strmn,(int)fl.length());
>prestatmt.setString(2,(String)vector.elementAt(i));
>prestatmt.executeUpdate(querytwo);
>
>any help
>thanks
>
>___________________________________________________________________________
>To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
>of the message "signoff SERVLET-INTEREST".
>
>Archives: http://archives.java.sun.com/archives/servlet-interest.html
>Resources: http://java.sun.com/products/servlet/external-resources.html
>LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to