Class RunSQLScript

  • All Implemented Interfaces:
    Callable<Integer>

    public class RunSQLScript
    extends Object
    implements Callable<Integer>
    A command-line entry point to run one or more SQL scripts via the internal IIQ utility that runs your SQL scripts when you install or update a plugin.

    You need to use this via IIQ’s Launcher entry point, aka the ‘iiq’ command. This command typically takes one of the built-in entry points, such as ‘console’, but can be supplied with any number of others. The Launcher automatically loads command classes from WEB-INF, so it’s sufficient for this library (iiq-common-public.jar) to be there, along with picocli.

    Usage: ./iiq com.identityworksllc.iiq.common.tools.RunSQLScript path/to/script1.sql path/to/script2.sql ...

    • Method Detail

      • main

        public static void main​(String[] args)
        Main method, to be invoked by the Sailpoint Launcher.

        Defers immediately to picocli to handle the inputs.

        Parameters:
        args - The command line arguments