Instantiating the Specialized Checkpoint Kind

The specialized checkpoint kind must be instantiated before any access to checkpoints. The simplest way for doing that is to write an 'initialize' operation.

        entity Lifecycle
        {`
          [ initialize ]
          void onInitialize();
        `};

        action ::pkg::Lifecycle::onInitialize
        {`
          declare pkg::CheckpointKind cpKind;
          select cpKind from CheckpointKind using key KeyName
            where (cpKind.name == MyCpKind)
            on empty create values (
              priority  : MyCpKindPriority
              ...);
        `};