SchemaUpdatePhase

Indicates which step a SchemaUpdateProgress is in.

The procedure for updating schemas takes place in several steps. This enumeration represents these states.

Values

Inactive

This value is the default value if the procedure has not yet begun.

Initializing

This value is the first step in the entire procedure. Information on the schemas to be updated is collected as well as on data objects if necessary.

CompileSchema

This value is the second step of the procedure. The schemas are compiled and validated in this step.

CompileTransformations

This step is the third step in the entire procedure. If transformations have been indicated in the procedure for the purpose of revising existing data objects, then the transformations are compiled and validated in this step.

If no transformations are indicated, then this step is not executed.

AnalyzeData

In this step, any available data is checked to see whether it can be updated.

If no data objects for the indicated schemas are present, then this step is not executed.

ValidateData

This procedure validates the existing data objects with the new schema. If necessary, the data is transformed into the new structure by means of the transformations and re-validated.

If no data objects for the indicated schemas are present, then this step is not executed.

UpdateData

In this step the data objects are updated, as far as these have been altered.

If no data objects for the indicated schemas are present, then this step is not executed.

StoreSchema

Now, in this last step of the entire procedure, the indicated schemas are saved. If an error occurred in one of the previous steps, then this step is not executed and all changes that have already been executed in this procedure are rolled back.