Crystal Reports for Rational Application Developer Designer Guide
To connect to a Derby data source
In the
"Data Source Explorer"
, right-click
"Databases"
and click
New
.
The
"New Connection Profile"
dialog box appears.
Select Derby and click
Next
.
Type a name for your connection and click
Next
.
The
"Derby Embedded Database"
dialog box appears.
In the
"Select a driver from the drop-down"
section, click the browse [...] button.
The
"Driver Definitions"
dialog box appears.
Search for the version of Derby that you have installed and click
Add
.
The
"New Driver Definition"
dialog box appears.
Select the Derby Embedded JDBC Driver and click
OK
.
The
"Edit Driver Definition"
dialog box appears.
Remove the default derby.jar file.
Click the
Add Jar/Zip
button.
Browse to the \lib\ folder where you installed the Derby files and select the derby.jar file.
In the
"Properties"
, modify the following properties:
"Connection URL"
=
jdbc:derby:jar:(<path to Xtreme.jar>)Xtreme
<path to Xtreme.jar> is the full path to the Xtreme.jar file.
"Database Name"
= Xtreme
"Password"
= test
A Password is not required for the connection but in order to add it to the report, it must be supplied.
"User ID"
= test
Click
OK
.
In the
"Driver Definitions"
dialog box, select the Derby Embedded JDBC Driver and click
OK
.
In the
"Derby Embedded Database"
dialog box, ensure the database location looks like the following value:
jar:(<full path to Xtreme.jar file>)Xtreme
Click
test connection
to verify the connection.
Click
Finish
.
In the
"Databases"
list, right-click the connection that you created and select
Connect
.
The connection will expand and show you the database node. Click to expand the following nodes:
a.
your database
b.
Schemas
c.
APP
d.
Tables
To add tables to the report, you can drag the tables to the
"Field Explorer"
view or to the report.
Business Objects, an SAP company
http://www.businessobjects.com/
Support services
http://www.businessobjects.com/services/support/
Product Documentation on the Web
http://support.businessobjects.com/documentation/