Modifying a JDBC connection

Once a JDBC connection has been set up, you can further modify it according to your requirements.

To modify the connection completely, such as switching to a different database with different schema and table names, you need to use the Catalog Doctor. This tool can help you make your reports function properly by re-mapping the query fields and table fields. For more information, refer to topics related with the Catalog Doctor.

Modifying a JDBC connection

To edit the data source definition of a JDBC connection, take the following steps:

  1. Right-click the connection and select Edit Connection from the shortcut menu.
  2. In the Get JDBC Connection dialog, edit the options as required.
  3. When done, click OK to accept the changes.

Renaming a JDBC connection

To rename an existing JDBC connection, follow the steps below:

  1. Right-click the connection and select Rename.
  2. Type the new name in the name box, and click outside the box (or just press Enter on your keyboard).
  3. Click OK in the warning message dialog to confirm the renaming.

Note: The name for the connection is just a string, and the actual information such as jdbc:odbc:Jinfonet is recorded in the URL.

Editing properties of a JDBC connection

The properties that you can set for a connection include: login credentials for the database, default date and time formats, time zone, and more. See JDBC connection for details about each property.

To set the JDBC properties:

  1. Make sure that Forbid editing data object properties in the Catalog category of the Report Options dialog is unchecked.
  2. In the Catalog Browser, right-click the connection, and select Properties (or click the Expand button on the Catalog Browser toolbar).
  3. In the Properties sheet, modify the properties as required.

Removing a JDBC connection

To remove the JDBC connection, take the steps below:

  1. Select the connection to be removed.
  2. Press Delete on your keyboard (or right-click the connection, and select Delete from the shortcut menu).
  3. Click OK in the appearing warning message to confirm the removal.