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...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>iReport</strong> <strong>Ultimate</strong> <strong>Guide</strong>Figure 11-2The data sources combo box shows the active data sourceIf no data source is selected, it is not possible to fill a report with data, therefore, when <strong>iReport</strong> starts for the first time, a preconfiguredempty data source is defined and selected by default. Datasources can be used in conjunction with the ReportWizard, too. That’s why configuring the connection to your data is usually the first step when starting with <strong>iReport</strong>.11.3 Creating and Using JDBC ConnectionsA JDBC connection allows you to use a relational DBMS (or, in general, whatever databases are accessible through a JDBCdriver) as a data source. To set a new JDBC connection, click the New button in the Connections/Datasources dialog box(shown earlier in Figure 11-1) to open the interface for creation of a new connection (or data source). From the list, selectDatabase JDBC connection to bring up the window shown in Figure 11-3.174

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

Saved successfully!

Ooh no, something went wrong!