Results 1 to 3 of 3
  1. #1
    Join Date
    Apr 2006

    Question Unanswered: Connecting to SQL from JBuilder

    Hi everyone,

    I am trying to connect to a SQL Server Database from an aplication in java, but I received the following error: No suitable driver

    I am using JDBC and a ODBC connection call TP2. My string connection look like this

    Connection con = DriverManager.getConnection ("jdbcdbc:TP2", "sa", "sql");

    What I do not have clear enought is where should I copy my jar files ??

    I really appreciate your help !!!!!!!!!!!!!!

  2. #2
    Join Date
    Jun 2003
    this link may help u.
    and this, if it is a connection error.
    I ve no idea about the jar file u mentioned,better u post ur question in java forum.
    Last edited by mallier; 04-06-06 at 06:45.
    I love cursor,though I never use it.Cos' I dont want to misuse it.


  3. #3
    Join Date
    Sep 2003
    Download the MS JDBC driver or the jTDS JDBC driver

Posting Permissions

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