com.microsoft.jdbcx.sqlserver.SQLServerDataSource@1fbe93
java.lang.NoClassDefFoundError: com/merant/jdbcspy/SpyLogger
at com.microsoft.jdbcx.base.BaseDataSource.getConnection(Unknown Source)
at infdbconnection.INFDBConnection.getConnection(INFDBConnection.java:61)
at infdbconnection.INFDBConnection.main(INFDBConnection.java:197)
Exception in thread "main"
The code that I run is:
com.microsoft.jdbcx.sqlserver.SQLServerDataSource ds =
(com.microsoft.jdbcx.sqlserver.SQLServerDataSource)Class.forName(driver).new
Instance();
ds.setServerName("Nadav-g");
ds.setDatabaseName("Spark_Test");
ds.setPortNumber(1433);
ds.setSelectMethod("cursor");
Connection connection = (Connection)ds.getConnection("sa","");
Please someone help...
Beta2 fixed this problem
"Nadav" <nad...@orbotech.com> wrote in message
news:#hJt$SC8BHA.1696@tkmsftngp05...
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
I works for me in beta1.
-Dan
"nadav Gelman" <nad...@orbotech.com> wrote in message
news:eGxKWwN8BHA.2292@tkmsftngp05...
Thanks, I have already did it, but, is it leagal to sell my product with
this library without paying royalties?
Did you test with our latest Release driver?
Sridhar Paladugu
Microsoft Developer Support
JDBC Webdata
This posting is provided "AS IS" with no warranties, and confers no rights.
Are you secure? For information about the Strategic Technology Protection
Program and to order
your FREE Security Tool Kit, please visit
<http://www.microsoft.com/security>.
I'm using the following release:
Microsoft SQL Server 2000 Driver for JDBC
Version 2.2 Patch 1
December 2001
Is it the latest one?
The version should be Microsoft® SQL Server 2000 Driver for JDBC Version
2.2.0019. April 2002.
Check microsoft download center for the latest driver.
Thanks,