1 Reply Latest reply on Sep 1, 2009 10:28 AM by jamesjmp

    Jar file for net.sourceforge.jtds.jdbc.driver

    sathish0707

      when i tried to connect to mssql.i add jtds1.2.2.jar file.when seam generate has failed with exception JDBC Driver class not found: com.microsoft.sqlserver.jdbc.SQLServerDriver

        • 1. Re: Jar file for net.sourceforge.jtds.jdbc.driver

          have you checked that you have properly added in your configuration file these entries?


          driver.jar= full path to jtds1.2.2.jar
          hibernate.connection.driver_class= driver name
          
          



          I´m using sybase, here´s is an example that may help you:


          driver.jar=C:/ECLIPSE/workspace/myproject/jconnect55.jar
          hibernate.connection.driver_class=com.sybase.jdbc3.jdbc.SybDriver