JDBC:ODBC to acess SQL7.0 with FRETDS 5.1

Alexandre Ubaldo alexandrebr at brfree.com.br
Wed Apr 11 16:20:36 EDT 2001


first, "sorry about my english"...

FreeTds "make check" is working fine on my Linux Mandrake 7.2. Iam
acessing a SQL Server 7.0 SP3 on a NT4.0SP5.

Now, I want to now how to use the FreeTDS ODBC Driver on my java
aplication.

how can I set this parameters?

        String url = "jdbc:odbc:?";
        Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
        con = DriverManager.getConnection(url, "user", "pass");

Thanks,
Alexandre Ubaldo
BH - BRASIL



More information about the FreeTDS mailing list