
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:
- Right-click the connection and select Edit Connection from the shortcut menu.
- In the Get JDBC Connection dialog, edit the options as required.
- When done, click OK to accept the changes.
Renaming a JDBC connection
To rename an existing JDBC connection, follow the steps below:
- Right-click the connection and select Rename.
- Type the new name in the name box, and click outside the box (or just press Enter on your keyboard).
- 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:
- Make sure that Forbid editing data object properties in the Catalog category of the Report Options dialog is unchecked.
- In the Catalog Browser, right-click the connection, and select Properties (or click the Expand button
on the Catalog Browser toolbar).
- In the Properties sheet, modify the properties as required.
Removing a JDBC connection
To remove the JDBC connection, take the steps below:
- Select the connection to be removed.
- Press Delete on your keyboard (or right-click the connection, and select Delete from the shortcut menu).
- Click OK in the appearing warning message to confirm the removal.
