10.5.21 setPort(int port)
- Organization of this subsection
(1) Function
This method specifies the port number of the HADB server at the connection destination.
Specification priorities apply to the port number of the HADB server. For details, see 7.3.3 Connection information priorities.
(2) Format
public synchronized void setPort(int port) throws SQLException
(3) Arguments
- int port
-
Specifies the port number of the HADB server at the connection destination, in the range from 5001 to 65535.
(4) Return value
None.
(5) Exceptions
If the specified port argument value is outside the range from 5001 to 65535, the JDBC driver throws an SQLException.