Refresh Metadata for Relational Database (RDBMS) Object Services

The RBDMS Object service is enhanced to support the Refresh Metadata feature in Fabric Console from Fabric V9SP 7 GA onwards. This feature allows app developers to fetch the latest metadata from the database and display the same in the Fabric service.

This feature is available only for Integration and Object Services of Relational Database (RDBMS). Refer to Refresh Metadata for RDBMS Integration Services.

The following sections help you with more details on the uses of refresh metadata for RDBMS Object Services:

Use Case

When a customer changes the metadata directly in the database, there is no way to reflect those changes in Fabric Console. As of now, the entity metadata is only fetched and stored when you create an RDBMS service, and the saved entity metadata may not be relevant in the following cases:

  • Suppose the base infinity app with an RDBMS service endpoint is changed to point to a new database type. Here the entire schema must be the same in both RDBMS instances.

  • If the current RDBMS endpoint database tables are altered

You can get the latest metadata modified in the database using the Refresh Metadata feature. For example, you can refresh the metadata for objects and fields or new endpoint updates. The Fabric console updates the common mappings and verb mappings. And this includes the request and response mappings for XML/Visual mappers, entity properties, and relationships based on the refreshed metadata (not applicable to locked object services.

NOTE: The Refresh Metadata feature updates only the data model objects and fields, not the backend objects/operations from the RDBMS endpoint.

You can access this feature on the Data Model page of an object service pe RDBMS.

  • You can select an object and select the Refresh Metadata action from the cogwheel menu.

  • You can refresh the metadata for multiple objects: Select the check box for each object and click the Refresh Metadata button.

User Scenarios - Refresh Metadata for RDBMS Object Services

The following sections help you with more details on different scenarios of Refresh Metadata: