Bundling metadata as a new object
About this task
Procedure
- Start a database transaction.
- Update database with new metadata.
-
Generate a new revision strictly greater than the old metadata revision.
The old revision can be obtained from the database table.
-
Generate a new metadata bundle.
A bundle consists of metadata in an application-parseable representation, with the new revision number and the permanent OID generated by the application.
- Store this bundle as a new object.
- Update metadata OID and metadata revision in the database.
- Commit database transaction.
- Remove old metadata object from SOV.