Configuring the Derby sample database
You can use the Derby sample database to build and view sample reports.
To set up a connection to the Derby sample database
- 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:
- In the Database location field, type classpath:/Xtreme.
- Select the “Create the database if required” check box and clear the “Upgrade the database to the current version” check box.
- 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:
- Select
bobj as the User ID.
- In the Password field, type
bobj.
- Click Test Connection.