Results 1 to 4 of 4
  1. #1
    Swamipsn is offline Member
    Join Date
    Jul 2007
    Posts
    74
    Rep Power
    0

    Smile JDBC Driver problem

    Hi,
    I am using "com.microsoft.jdbc.sqlserver.SQLServerDriver" and "net.sourceforge.jtds.jdbc.Driver" for SQLServer 7.0 but both of the drivers are not support my JVM and throw class not found exception. So please anydody suggest some other drivers which are support SQLServer 7.0 for JDK1.5..

  2. #2
    vata2999 is offline Member
    Join Date
    Jul 2007
    Posts
    8
    Rep Power
    0

    Default

    You can use jdbc-odbc bridge but it is too slow java is not work with sql
    well
    Java Code:
     Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    Connection con=DriverManager.getConnection("jdbc:odbc:Driver={MS 
    SQL};server=.;database=northwind","sa","secret");
    Or use DSN(Data source name)
    Java Code:
    DriverManager.getConnection("jdbc:odbc:dsnName");

  3. #3
    Swamipsn is offline Member
    Join Date
    Jul 2007
    Posts
    74
    Rep Power
    0

    Default

    No I dont want to use jdbc:odbc dridge. I want direct SQLServer driver

  4. #4
    henry_78 is offline Member
    Join Date
    Aug 2007
    Posts
    47
    Rep Power
    0

    Default

    Hi,
    Areu sure u have downoladed frominternet the jar file of the diver and included it in the path of the your application???
    Make sure that u did, Bye.

Similar Threads

  1. Replies: 4
    Last Post: 03-31-2010, 12:08 PM
  2. Jdbc Driver For Oracle
    By Swamipsn in forum New To Java
    Replies: 0
    Last Post: 08-14-2007, 04:31 AM
  3. JDBC driver connection problem
    By creativehacker in forum JDBC
    Replies: 3
    Last Post: 07-10-2007, 09:58 PM
  4. Help with JDBC driver
    By Daniel in forum JDBC
    Replies: 2
    Last Post: 07-03-2007, 08:16 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •