Configuring the client application

You must configure the client application to send the database requests to the database proxy instead of to the existing database.

The client application needs to use a custom database driver called dbpep for connecting to the database proxy. You can obtain this driver from the \lib directory where you downloaded the Database Proxy Schema Tool. You will need to copy the dbpep.jar and derbyclient.jar files.

The following example shows the JDBC URL that points to the proxy database:
jdbc:dbpep://<localhost>:<port>/gaiandb<port>
In this example, the following variables are specified:
localhost
The host name or IP address of the local system (where you downloaded the Database Proxy Schema Tool).
port
The port number for the proxy database. Be sure to specify the same port number in both places of the URL.

If you use the Update proxy configuration operation to update the user name and password credentials to access the proxy database, you must also update the client application to use the new credentials to connect to the proxy database. For more information, see Updating the proxy database configuration.