HP Driver for JDBC User's Manual
Chapter 4 37
Using the HP Driver for JDBC
Connection Parameters
Once these values have been determined, the JDBC Driver connection
URL can be synthesized. There are two primary JDBC Driver class
methods that can be used to connect to the database. The first one
requires that all connection parameters be provided in a Java String
URL, including the user name and password. However, this
information can be logged on the client, thus recording the user name
and password. Remember that the user name and passwords can be
used to log on to the server host.
The second connection method also takes a Java String URL, but allows
for the user name and password to be specified as separate arguments,
which are not logged. This would be the more secure method of
connecting to the database.
The choice of method is entirely up to the application developer. The
HP Driver for JDBC supports both methods.