Click OK to apply the selections. In the Complex Join or Physical Foreign Key dialog, type a name for the join. Click the Browse button for the Table field on the left side of the dialog, and then Select the columns in the left table that the key referenc

Working with Physical Tables, Cubes, and Joins 7-37 To set the cardinality to unknown, you only need to select Unknown for one side of the join. For example, choosing unknown-to-1 is equivalent to unknown-to-unknown and appears as such the next time you open the dialog for this join. 7. If appropriate, specify a database hint. See Using Hints for more information. 8. If you are creating a complex join for ADF Business Component ViewObject or ViewLink instances, specify the ViewLink instance name or the ViewLink definition name in the ViewLink Name field. 9. To open Expression Builder, click the button to the right of the Expression pane. The expression displays in the Expression pane. The default join expression for ViewObject or ViewLink instances is arbitrary and has no meaning.

10. Click OK to apply the selections.

In the Physical Diagram, the join is represented by a line between the two selected tables, with an arrow at the one end of the join. Figure 7–8 shows a join in the Physical Diagram. Figure 7–8 Join in the Physical Diagram Defining Physical Joins with the Joins Manager You can use the Joins Manager to view join relationships and to create physical foreign key joins and complex joins. To define a physical foreign key join or complex join with the Joins Manager: 1. In the Administration Tool toolbar, select Manage, then select Joins. 2. In the Joins Manager dialog, perform one of the following tasks: – Select Action New Complex Join. The Complex Join dialog appears. – Select Action New Physical Foreign Key. Then, in the Browse dialog, double-click a table.

3. In the Complex Join or Physical Foreign Key dialog, type a name for the join.

4. Click the Browse button for the Table field on the left side of the dialog, and then

locate the table that the foreign key references.

5. Select the columns in the left table that the key references.

6. Select the columns in the right table that make up the foreign key columns.

7. For complex joins, you can optionally set the cardinality for each side of the join

for example, N, 0,1, 1, or Unknown. To set the cardinality to unknown, you only need to select Unknown for one side of the join. For example, choosing unknown-to-1 is equivalent to unknown-to-unknown and appears as such the next time you open the dialog for this join.

8. If appropriate, specify a database hint. See

Using Hints for more information. 7-38 Metadata Repository Builders Guide for Oracle Business Intelligence Enterprise Edition 9. If you are creating a complex join for ADF Business Component ViewObject or ViewLink instances, specify the ViewLink instance name or the ViewLink definition name in the ViewLink Name field. 10. To open Expression Builder, click the button to the right of the Expression pane. The expression displays in the Expression pane. The default join expression for ViewObject or ViewLink instances is arbitrary and has no meaning.

11. Click OK to save your work.