Class SQLScriptHelper.ScriptContext

    • Field Detail

      • _separator

        protected String _separator
        The current script execution block separator.
      • _ignoreExceptions

        protected boolean _ignoreExceptions
        True to ignore sql exceptions.
    • Constructor Detail

      • ScriptContext

        public ScriptContext()
        Default ScriptContext object.
      • ScriptContext

        public ScriptContext​(String separator,
                             boolean ignoreExceptions)
        Build a ScriptContext object.
        Parameters:
        separator - the separator
        ignoreExceptions - true to ignore exceptions.
    • Method Detail

      • setSeparator

        public void setSeparator​(String separator)
        Set the separator.
        Parameters:
        separator - the separator to set
      • ignoreExceptions

        public boolean ignoreExceptions()
        Get the ignoreExceptions.
        Returns:
        the ignoreExceptions
      • setIgnoreExceptions

        public void setIgnoreExceptions​(boolean ignoreExceptions)
        Set the ignoreExceptions.
        Parameters:
        ignoreExceptions - the ignoreExceptions to set