NetBeans 7 to MS Sql Server 2008R2 Connection

12,007

You can use the official Microsoft JDBC Driver or the JTDS open source driver each of these two works fine ...

Share:
12,007
Ziba Leah
Author by

Ziba Leah

Updated on June 04, 2022

Comments

  • Ziba Leah
    Ziba Leah almost 2 years

    I'm looking for an easy way to connect my NetBeans application to an SQLServer 2008 R2 database... I tried with JDBC:ODBC but this doesn't work... I tried other ways but appears to be deprecated or too old for the jre 1.7...

    Does anybody have any suggestion? I'm googlig for hours but nobody talks about it, the only things i found are about SQL Server 2000 an other ancient systems!

    Thank you very much!

  • Ziba Leah
    Ziba Leah over 12 years
    I've already downloaded and JDBC driver but when i go to the wizard of netbeans for the creation of a DB Application he cannot find my server, even if i give it the right address! Is there any SQL Server option to enable jdbc interaction?
  • aleroot
    aleroot over 12 years
    No, just make sure to have SQL Browser service enabled.
  • Ziba Leah
    Ziba Leah over 12 years
    Under SQLServer Configuration in Computer Management i have 3 services.. SQL Server - running SQL Server Agent - stopped SQL Server Browser - running