Step 1: Create Data Adaptor
Here I connect with Oracle database. You can
do the same with MySQL or SQLServer. There is some
differences in the using library and URL Connection String.
Click Right
Button on Data Adapter.
Click Create
Data Adapter.
For Oracle,
Enter:
·
JDBC Url: jdbc:oracle:thin:@10.24.248.15:1536:DEV
·
Click on Test
Error emerges when you do not declare the
classpath of Database Library Driver.
Just Add the jar file location, the
JDBC Driver library for this database
OK, Data Adaptor was created.
Step 2: Create JasperReport
Server Connection
Click Right
Button on Servers
Put the Required
information to connect JasperReport Server
OK, JasperReport Server was created.
No comments:
Post a Comment