Merging a Schema in the Load Process

You can load a schema file containing a new definition of a schema that already exists in your JADE database.

When you perform a load, the existing schema is updated to match the definition in the schema file. Specifically, the following actions are performed.

For example, consider the following two definitions of a class (one in the JADE database and the other in the incoming schema file).

Database Schema File
Customer Customer
       Attributes (
              address:                      String[31]; attributeDefinitions
              balance:                      Decimal[12,2];               balance:                      Decimal[12,2];
              customerNumber:      Integer;              customerNumber:      Integer;
              longName:                  String[21];               longName:                  String[31];
                phone:                         String[16];
       JADE Methods  
              compareDetails(cust: Customer); jadeMethodDefinitions
              display(): String;               display(): String;
                printOn(f: Form);
  )

In this example, the following actions are performed during the load process.

The class that exists in the database is modified so that it becomes identical to the schema file definition.