Moving from a File-Based Repository to a Database-Based Repository

Managing the Metadata Repository 14-27

14.3.12.5 Deleting Metadata Labels

To delete a specified metadata label, you use the WLST command deleteMetadataLabel. For example, to delete a label named prod1 for the application my_mds_app, use the following command: deleteMetadataLabelapplication=my_mds_app, server=server1, name=prod1 If the application has more than one version, you must use the applicationVersion parameter to specify the version. To find the labels associated with an application, use the listMetadataLabels command, as described in Section 14.3.12.2 .

14.4 Managing Metadata Repository Schemas

The following topics describe how to manage the metadata repository schemas: ■ Changing Metadata Repository Schema Passwords ■ Changing the Character Set of the Metadata Repository

14.4.1 Changing Metadata Repository Schema Passwords

The schema passwords are stored in the database. For example, to change the password of the schema OFM_MDS: 1. Connect to the database using SQLPlus. Connect as a user with SYSDBA privileges. 2. Issue the following command: SQL ALTER USER schema IDENTIFIED BY new_password; For example, to change the OFM_ MDS password to abc123: SQL ALTER USER OFM_MDS IDENTIFIED BY abc123; 3. If you change the MDS Repository schema password, you must change the password for the corresponding MDS Repository data source, using Oracle WebLogic Server Administration Console: a. From Domain Structure, expand Services, then Data Sources. b. Click the data source that is related to the MDS Repository. c. Click the Configuration tab, then the Connection Pool tab. d. For Password, enter the new password. e. Click Save. f. Restart the Managed Servers that consume the data source.

14.4.2 Changing the Character Set of the Metadata Repository

For information about changing the character set of metadata repository that is stored in an Oracle Database, see Oracle Database Globalization Support Guide: http:www.oracle.comtechnetworkdatabaseenterprise-editiondo cumentationindex.html Oracle recommends using Unicode for all new system deployments. Deploying your systems in Unicode offers many advantages in usability, compatibility, and