You can use the Derby sample database to build
and view sample reports.
Switch to the
Crystal
Reports perspective.
In the
Database
Explorer pane, right-click
Connections and click
New
Connection.
The New Connection wizard opens.
In the
Connection
identification
section, select the "Use default naming convention"
check box.
In the
Select a database
manager list, expand the
Derby
node and select
10.1.
In the
JDBC
driver list, select
Derby Embedded JDBC
Driver.
In the
Connection URL
details section:
a. In the
Database
location field, type classpath:/Xtreme.
b. Select the "Create the database
if required" check box and clear the "Upgrade the database to the current
version" check box.
c. Beside the "Class location"
text box, Click
Browse. Browse to the derby.jar
and xtreme.jar files. For example, you may have installed them in the
eclipse\plugins\com.businessobjects.crystalreports.samples_1.0.0.v500\SampleDatabases
folder.
In the
User
information section:
a. Select
bobj as the
User
ID.
b. In the
Password field, type
bobj.