Class DbUtils

java.lang.Object
de.hybris.platform.patches.utils.DbUtils

public final class DbUtils extends Object
Set of utility methods for DB related operations.
  • Method Details

    • executeUpdate

      public static void executeUpdate(String query)
      Executes direct SQL update for specified query.
      Parameters:
      query - to be executed on DB (directly, not through hybris ORM)
    • getJdbcTemplate

      public static org.springframework.jdbc.core.JdbcTemplate getJdbcTemplate()
      Returns instance of JDBC template.
      Returns:
      JDBC template