Monday, October 17, 2011
Adding new datasource to iReport in Netbeans
iReport is an important tools for reporting in java applications. In Netbeans, we may face problem to add new data source for iReport. Here is the step by step procedure to add a database driver for iReport.
1) go to "Tools / Options" menu and select iReport
2) verify that database JDBC driver is present:
- Choose "Classpath" tab
- Click "Add JAR" and then locate the desired (mysql.jdbc).Driver
- Click "OK"
3) click "Connections / Datasources" icon in toolbar
4) click "New" and set up a "Database JDBC Connection" using driver from step 2
5) click "Test" to verify the data source works correctly
6) click "Save" to save the data source
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment