Skip to Content.
Sympa Menu

freetds - JDBC SQL Server connectionstring (NT authentification)

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: marcel.stoer AT bluewin.ch
  • To: freetds AT franklin.oit.unc.edu
  • Subject: JDBC SQL Server connectionstring (NT authentification)
  • Date: Mon, 9 Jul 2001 10:18:36 -0400


hi

as I understand the regular url for connecting to a SQL Server db is:
jdbc:freetds:sqlserver://server:port/dbname. The connection string would
then be (url, username, password), right?
What if we have Windows authentification? Should username and password be
empty Strings like with the Oracle drivers? Or does my Java code have to
provide both by retrieving the data from the OS through
System.getProperty("user.name") and ... well how would you do it for the
password...??

Thanks for your kind help
Marcel




Archive powered by MHonArc 2.6.24.

Top of Page