Class ScriptHelper


  • public class ScriptHelper
    extends Object
    Contains helper methods to handle database scripts
    • Constructor Detail

      • ScriptHelper

        public ScriptHelper()
    • Method Detail

      • runSilently

        public static boolean runSilently​(JdbcTemplate jdbcTemplate,
                                          String script,
                                          boolean logSuccess,
                                          CyclosProperties cyclosProperties)
        Runs the given script on the given connection, returning whether there where errors
      • split

        public static List<String> split​(String script)
        Splits the given script into statements. It only supports line comments starting with --