java.lang.Object
com.netflix.genie.web.data.services.impl.jpa.utils.H2Utils

public final class H2Utils extends Object
Utilities for working with H2 database. In particular can write stored functions here that are pre-compiled.
Since:
4.0.0
  • Method Details

    • splitV3CommandExecutableForV4

      public static void splitV3CommandExecutableForV4(Connection con) throws Exception
      Split the existing command executable on any whitespace characters and insert them into the command_executable_arguments table in order.

      See: src/main/resources/db/migration/h2/V4_0_0__Genie_4.sql for usage

      Parameters:
      con - The database connection to use
      Throws:
      Exception - On Error