13.07.2015 Views

iReport Ultimate Guide - Nimsoft Library

iReport Ultimate Guide - Nimsoft Library

iReport Ultimate Guide - Nimsoft Library

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Getting StartedFigure 2-10JDBC Connection Using a Built-in JDBC Driver4. To complete the connection configuration, enter the username and password for access to the database.If you want to save the password, select the Save password check box.I suggest that you test the connection configuration before moving on, which you can do by clicking the Test button.<strong>iReport</strong> provides the JDBC driver for the following SQL-compliant database systems:• HSQL• MySQL• PostgreSQLIf <strong>iReport</strong> returns a ClassNotFound error, it is possible that there is no JAR archive (or ZIP) in the classpath that contains theselected database driver. In this case, there are two options:• Adding the required JAR to the <strong>iReport</strong> classpath.To extend the <strong>iReport</strong> classpath, select the menu item Tools → Options, go to the classpath tab under the <strong>iReport</strong>category, and add the JAR to the list of paths.• Registering the new driver through the service window.If you prefer this second way, open the services window (Window → Services or CTRL+5), select the Databases node,then the Drivers node.Right-click the Drivers node and select New Driver. The dialog shown in Figure 2-11 will pop up.23

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!