Right-click a physical table for example, EmployeesView, then select Query Select the required presentation table and click Go To. Select Custom display name and enter a value such as the following one: Select Custom description and enter a value such as

Working with ADF Business Component Data Sources 5-17 of a session variable initialization block with an appropriate Oracle ADF UI hint query. My_orclADF.Connection Pool is a connection pool for an Oracle ADF data source. Figure 5–3 Setting Up a Session Variable Initialization Block Data Source with an Oracle ADF UI Hints Query

b. In the Session Variable Initialization Block dialog, select Row-wise

initialization as the Variable Target.

c. Click Test to test the query against the Oracle ADF data source.

In the results window, the first column contains the session variable names that are generated using the naming scheme. The second column contains the label and tooltip values from the Oracle ADF data source. See About the Session Variable Naming Scheme for UI Hints for a description of the naming scheme.

2. Configure a custom display name and a description in presentation columns.

To find the presentation tables that can use the UI hints from the EmployeesView View Object, this example uses the Query Repository feature in the Administration Tool.

a. Right-click a physical table for example, EmployeesView, then select Query

Related Objects Presentation Presentation Table from the menu. The Query Related Objects dialog displays all the related presentation tables. This example sets up a custom display name and custom description for columns in the Employee presentation table. 5-18 Metadata Repository Builders Guide for Oracle Business Intelligence Enterprise Edition Figure 5–4 Using the Query Related Objects Feature to Find the Related Presentation Tables

b. Select the required presentation table and click Go To.

This displays the selected presentation table. c. Expand the presentation table to view the presentation columns. d. Double-click the LastName presentation column to display the Presentation Column dialog.

e. Select Custom display name and enter a value such as the following one:

VALUEOFNQ_SESSION.ADF_LABEL_MY_ORCLADF_EMPLOYEESVIEW_LASTNAME

f. Select Custom description and enter a value such as the following one:

VALUEOFNQ_SESSION.ADF_TOOLTIP_MY_ORCLADF_EMPLOYEESVIEW_LASTNAME

g. Click OK.

h. Save the changes in the repository and restart the Oracle BI Server. 6 Setting Up Database Objects and Connection Pools 6-1 6 Setting Up Database Objects and Connection Pools Properties for database objects and connection pools are typically set automatically when you import metadata from your data sources. However, in some cases you may want to adjust database or connection pool settings, or create a database object or connection pool manually. This chapter describes the properties of the database and connection pool objects in the Physical layer. This chapter contains the following sections: ■ Setting Up Database Objects ■ About Connection Pools ■ Creating or Changing Connection Pools ■ Setting Up Persist Connection Pools Setting Up Database Objects Importing metadata from a data source automatically creates a database object for the schema, but you may need to adjust the database properties. See System Requirements and Certification for information about supported data sources. The following sections provide information about how to create or edit database objects in the Physical layer: ■ About Database Types in the Physical Layer ■ Creating a Database Object Manually in the Physical Layer ■ Specifying SQL Features Supported by a Data Source About Database Types in the Physical Layer If you import the physical schema into the Physical layer, the database type is usually assigned automatically. The following list contains additional information about automatic assignment of database types: ■ Relational data sources. During the import process, some ODBC drivers provide the Oracle BI Server with the database type. However, if the server cannot determine the database type, an approximate ODBC type is assigned to the database object. Replace the ODBC type with the closest matching entry from the Database list. 6-2 Metadata Repository Builders Guide for Oracle Business Intelligence Enterprise Edition ■ Multidimensional data sources. Microsoft Analysis Services and SAPBW are the only supported XMLA-compliant data sources currently available. After you import metadata from a multidimensional data source, check the database object and update the appropriate database type and version if necessary. Creating a Database Object Manually in the Physical Layer If you create a database object manually, you need to manually set up all database elements such as the connection pool, tables, and columns. For multidimensional data sources, if you create the physical schema in the Physical layer of the repository, you need to create one database in the physical layer for each cube, or set of cubes, that belong to the same catalog database in the data source. A physical database can have more than one cube. However, all of these cubes must be in the same catalog in the data source. To create a database object: 1. In the Administration Tool, in the Physical layer, right-click and select New Database . Make sure that no object is selected when you right-click.

2. In the Database dialog, in the General tab, complete the fields using