估计jdbc不能用sql server的windows身份登录吧。

解决方案 »

  1.   

    身份验证在数据库属性——安全性可以修改验证方式。可是我配置的是JDBC驱动程序,在Database Pilot 里,打开数据库,出现如下错误信息:
    [Microsft]SQLServer2000 Driver for JDBC] End of stream was deteted on a read 点击 “stack trace" 出现如下错误信息源:
    See com.borland.dx.dataset.DataSetException error code:  BASE+66com.borland.dx.dataset.DataSetException: [Microsoft][SQLServer 2000 Driver for JDBC]End of stream was detected on a read. at com.borland.dx.dataset.DataSetException.a(Unknown Source) at com.borland.dx.dataset.DataSetException.throwException(Unknown Source) at com.borland.dx.dataset.DataSetException.SQLException(Unknown Source) at com.borland.dx.sql.dataset.Database.openConnection(Unknown Source) at com.borland.jdbcx.metadata.DatabaseInfo.openConnection(Unknown Source) at com.borland.jdbcx.metadata.e.run(Unknown Source)Chained exception:java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC]End of stream was detected on a read. at com.microsoft.jdbc.base.BaseExceptions.createException(Unknown Source) at com.microsoft.jdbc.base.BaseExceptions.getException(Unknown Source) at com.microsoft.jdbc.sqlserver.tds.TDSRequest.processReply(Unknown Source) at com.microsoft.jdbc.sqlserver.SQLServerImplConnection.open(Unknown Source) at com.microsoft.jdbc.base.BaseConnection.getNewImplConnection(Unknown Source) at com.microsoft.jdbc.base.BaseConnection.open(Unknown Source) at com.microsoft.jdbc.base.BaseDriver.connect(Unknown Source) at java.sql.DriverManager.getConnection(DriverManager.java:512) at java.sql.DriverManager.getConnection(DriverManager.java:171) at com.borland.dx.sql.dataset.Database.openConnection(Unknown Source) at com.borland.jdbcx.metadata.DatabaseInfo.openConnection(Unknown Source) at com.borland.jdbcx.metadata.e.run(Unknown Source)
    请问,这是什么问题,该如何解决。
    那位大虾有经验哦! 非常感激!*^_^*
      

  2.   

    sql server的JDBC连接好象不支持WINDOWS登陆验证,这版面应该有帖子详细列出JDBC大全,我看过的
      

  3.   

    SQL 2000 的连接URL 是 
                    jdbc:microsoft:sqlserver://localhost:1433;DatabaseName=" + 我装了JDBC的驱动,怎么没有这个URL啊???
      

  4.   

    有谁能解决以下的问题
    http://community.csdn.net/Expert/topic/3376/3376841.xml?temp=.752392解决连接速度问题