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
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 Tablesb. 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_LASTNAMEf. Select Custom description and enter a value such as the following one:
VALUEOFNQ_SESSION.ADF_TOOLTIP_MY_ORCLADF_EMPLOYEESVIEW_LASTNAMEg. 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
Parts
» Oracle Fusion Middleware Online Documentation Library
» Click OK when you are finished setting preferences.
» Select Set Icon. Oracle Fusion Middleware Online Documentation Library
» Select the appropriate DSN and click OK.
» Click OK. Oracle Fusion Middleware Online Documentation Library
» Without opening a repository, select File Multiuser History.
» In the ODBC Data Source Administrator dialog, click the System DSN tab, and
» In the Select Data Source screen, in the Connection Type field, select the type of
» Click Finish. Oracle Fusion Middleware Online Documentation Library
» In the Administration Tool, select File, then select Import Metadata.
» Provide the Data source name for the primary database. Click OK.
» In the Select Data Source screen, select OracleADF_HTTP for Connection Type.
» Select the objects you want to import in the Available list and move them to the Click Finish.
» In the Database dialog, click the Features tab. In the Features tab, use the information in
» Specify or adjust the properties as needed, then click OK.
» In the Persist connection pool area, click Clear. Click OK.
» To add tables to the display folder, click Add. Then, in the Browse dialog, select Click OK.
» Click OK in the Hierarchy dialog.
» Select View Members. Click Query to display results. When finished, click Close.
» Click OK. Select Create Columns for Alias Table. Then, from the sub-list, select the alias
» Type the text of the hint in the Hint field and click OK.
» In the shortcut menu, select Update Row Count. Click Yes to check out the objects.
» If you want to provide a dynamic list of currency options, create a table in your
» Click OK. Click OK or Cancel to close the Dimensions dialog.
» From the right-click menu, select Create Logical Dimension, then select either
» In the Check Out Objects dialog, click Yes to check out the objects that appear in
» If the values for the source are unique, select the option Select distinct values.
» Click OK. To move a table, in the Name list, select the table you want to reorder. Then, use
» In the Finish Script screen, the complete path and file name appears. Click Finish.
» Click OK, then click OK again to return to the Identity Manager.
» On the General tab, in the Data source definition: Database field, ensure that the
» Click OK. Open the user.sh file. You can find this file at:
» Click Select next to Patch File. Browse to select the patch file you want to apply, Click Finish.
» Select Tools, then select Query Repository. Click Query.
» When you have finished mapping columns between the selected physical tables, Click Finish.
» In the Choose Directory dialog, click Browse to locate and select the location Click OK.
» To remove the selected objects, click Yes.
» Repository initialization blocks only In the Schedule area, select a start date and
» In the [Repository|Session] Variable Initialization Block dialog, click Edit Data
» Click Edit Data Target. Click OK.
» Check out the branch project using File Multiuser Checkout. You can check
Show more