Home > Archive > SQL Server JDBC > December 2005 > setAsciiStream not implemented in sql 2005 jdbc (beta 2)?









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author setAsciiStream not implemented in sql 2005 jdbc (beta 2)?
eric dong

2005-12-05, 9:23 am

I got error "R_notSupported" from PreparedStatement.setAsciiStream(int,
InputStream, int) method when I'm using SQL Server 2005 JDBC driver
(beta 2). The same code works fine with SQL 2000 driver.

Does it mean PreparedStatement.setAsciiStream hasn't been implemented
in SQL Server 2005 JDBC driver (beta 2) yet, or SQL Server 2005 JDBC
driver will not support PreparedStatement.setAsciiStream? The following
is the call stack:

SQLServerException. getErrString(String)
line: not available
SQLServerPreparedSta
tement(SQLServerStat
ement).NotImplemented() line:
not available [local variables unavailable]
SQLServerPreparedSta
tement.setAsciiStream(int, InputStream, int) line:
not available

Thanks.

Shelby Goerlitz [MSFT]

2005-12-06, 3:23 am

Eric:

The beta 2 driver didn't fully implement AsciiStreams-- however, these will
be implmeneted in the release version in January.

-shelby

Shelby Goerlitz
Microsoft, SQL Server Data Programmability

"eric dong" <edong@datamirror.com> wrote in message
news:1133794659.957958.10520@f14g2000cwb.googlegroups.com...
>I got error "R_notSupported" from PreparedStatement.setAsciiStream(int,
> InputStream, int) method when I'm using SQL Server 2005 JDBC driver
> (beta 2). The same code works fine with SQL 2000 driver.
>
> Does it mean PreparedStatement.setAsciiStream hasn't been implemented
> in SQL Server 2005 JDBC driver (beta 2) yet, or SQL Server 2005 JDBC
> driver will not support PreparedStatement.setAsciiStream? The following
> is the call stack:
>
> SQLServerException. getErrString(String)
line: not available
> SQLServerPreparedSta
tement(SQLServerStat
ement).NotImplemented() line:
> not available [local variables unavailable]
> SQLServerPreparedSta
tement.setAsciiStream(int, InputStream, int) line:
> not available
>
> Thanks.
>



Sponsored Links





Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive | Programming forum archive

Copyright 2008 droptable.com