D'après leur FAQ :
jdbc:jtds:<server_type>://<server>[:<port>][/<database>][;<property>=<value>[;...]]
Properties can be passed to jTDS in one of three ways: in the URL, in the Properties object passed to getConnection() or by using the TdsDataSource's setters (if connections are obtained through a DataSource rather than using the DriverManager). Because there is no URL when using the TdsDataSource there are three other properties (with setters and getters) to take the place of those items that are part of the URL's syntax: serverName, portNumber and databaseName (their meaning should be quite clear).
Partager