Setting Up the Application Version

Before accessing checkpoints, an application must set the application version that will be used by the checkpoint framework. This version will be used when writing checkpoints and during a migration.

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

        action ::pkg::Lifecycle::onInitialize
        {`
          declare checkpoint::CheckpointManager cm;

          create singleton cm;

          cm.setApplicationVersion("myVersion");
        `};