|
|
Archives of the TeradataForum
Message Posted: Wed, 30 Jul 2003 @ 17:24:43 GMT
Subj: | | Re: Teradata JDBC type 4 driver, default port number |
|
From: | | Watzke, Michael |
Sean:
With the type 4 driver it is not necessary to specify a port in the connection string since a gateway is not used with the type 4 driver.
The type 4 driver communicates directly with teradata, which uses port 1025.
example, "server" is the name of the system where teradata is running.
String url4 = "jdbc:teradata://server";
con=DriverManager.getConnection (url4,"uid","password");
Mike
| |