Adding a Patch Number

To add a new patch number

  1. Select the Add command from the Patches menu.

    The Patch Number Update dialog, shown in the following image, is then displayed.

  2. In the Patch Number text box, specify the patch number that you require for the current schema. The patch number, which can be up to nine digits long, cannot be the same as an existing patch number in the current schema.

    Use the AutoAssignPatchNumbers parameter in the [JadePatchControlExtensions] section of the JADE initialization file to specify whether the patch number is automatically assigned by JADE. When the patch number is automatically assigned, the current highest patch number is incremented by 1, and cannot be changed.

  3. In the Keep source versions for text box, specify the number of source versions that you want to retain for the current schema, with a maximum length of three digits.

    By default, 10 patch source versions are retained.

  4. If you do not want to apply your specified patch number to all schemas in the JADE database, uncheck the Apply this patch number to all schemas check box.

    This check box, which is checked by default, is the recommended setting as it is easier to extract changes to a specified patch number if a patch applies across multiple schemas.

    To apply the specified patch number, it must be unique across all schemas.

  5. Check the Include recompiled methods check box if you want to include all methods that are automatically recompiled; for example, because of a signature change.

    This check box is unchecked by default, indicating that recompiled methods are not included in the patch.

    As a schema load cannot recompile methods that have no sources, load errors are detected when the patches are applied to a deployed system if you do not check this control.

    Methods that are recompiled because of rename actions (for example, of a class or method) are always included in the patch, regardless of the setting of this check box.

  6. In the Description text box, specify any free-format text that you require as descriptive text for the patch number.

    JADE automatically appends descriptive text that indicates when the patch number is opened, closed, or re-opened.

  7. Check the Set as current patch number check box if you want to set the newly created patch number to be your current patch number.

    This check box is unchecked by default, indicating that the patch number is not set as the current patch number.

  8. Click the OK button to add the patch number.

    Alternatively, click the Cancel button to abandon your selections.