Exercise 2: Accessing data models

In this exercise, you will access data models from the Derby SAMPLE database. The Derby SAMPLE database is provided with this product. You will use the schemas in this database for your relationship mapping.

Before you begin, you must complete Exercise 1: Creating a new data design project .

To access data models:

  1. From the Database Explorer view, expand the Connections folder.
  2. Expand the Connections node, SAMPLE (Derby), SAMPLE, Schemas, SAMP, Tables.
  3. Select the Department table. Hold the mouse button down and drag your mouse from the Database Explorer view to the Data Project Explorer view to the Data Models folder. Release the mouse button while highlighting the Data Models folder.
  4. Select the Project table in the Database Explorer. Hold the mouse button down and drag your mouse from the Database Explorer view to the Data Project Explorer view to the Data Models folder. Release the mouse button while highlighting the Data Models folder.

You now have two data models in the Data Project Explorer that you can use to create mapping models: Sample.dbm and Sample2.dbm.

The database objects are now ready for you to use for modeling and mapping.

Now you are ready to begin Exercise 3: Creating a new mapping model.