- In BIRT Report Designer, open an existing report design.
- Choose Data Explorer.
- Right-click an existing JDBC data source, then choose Edit from the context menu. Edit Data Source appears, as shown in Figure 2-10.
Figure 2-10 Adding a JDBC driver
- Choose Manage Drivers. The JDBC driver manager appears, a s shown in Figure 2-11.
Figure 2-11 Managing JDBC drivers
- To add the JAR files for the additional driver, choose Add, then navigate to the directory that contains the driver class file. Select the driver JAR file and choose Open.
The driver manager appears, showing the new driver class. BIRT Report Designer copies the JAR file to the Eclipse JDBC directory.
- Choose Drivers to see the Drivers page, as shown in Figure 2-12.
Figure 2-12 Viewing JDBC driver classes
- Specify the properties for a driver:
- Select the new driver, then choose Edit. Edit JDBC Driver appears, as shown in Figure 2-13.
Figure 2-13 Editing a JDBC driver URL template
- Specify settings for the JDBC driver:
- In Driver Display Name, type a name that appears in the Display Name column in the driver manager.
- In URL Template, type the syntax suggestion that appears for this driver in Database URL on New Data Source.
Choose OK. The driver manager displays the new display name and URL template syntax suggestion.
- Choose OK. Edit Data Source appears.