- download derby.jar (database library).
- download sample database (Java DB - Apache Derby 10.8.1.2). On GoogleDrive page, choose menu: File -> Download. This file contain database=DANIANI_DB; user=daniani_user; password=daniani_pwd; schema=SCH. Then extract it in a certain location.
- Run i-Report application
- Click menu Window - Services
- Right click Drivers node, select New Driver...
- Click Add button, then search derby.jar.
- We 'll see there is a new driver, then right click, select
Connect Using...
- Search the Derby database location, for example (case-sensitive)
database name = DANIANI_DB,
user = daniani_user, password
= daniani_pwd
- On tab Advanced, select schema to SCH (my schema).
- The connection has been built. Double click the connection then
rightclick PARENT table, choose view data ...
- On toolbar click Datasource button.
- Choose Netbeans Database JDBC connection
- set Name = whatever (example: DDA), and choose Connection.
- We 'll see, then Close.
- The datasource 'll be shown. This step for our next discussion about i-Report.
Next: Create a New Report