Class FreemarkerSqlLocator

java.lang.Object
org.jdbi.v3.freemarker.FreemarkerSqlLocator

public class FreemarkerSqlLocator extends Object
Locates SQL in .sql.ftl Freemarker files on the classpath.
  • Method Details

    • findTemplate

      @Deprecated public static freemarker.template.Template findTemplate(Class<?> type, String templateName)
      Deprecated.
      this static method does not respect configuration, use FreemarkerConfig.createLocator()
    • findTemplate

      public static freemarker.template.Template findTemplate(freemarker.template.Configuration config, Class<?> type, String templateName)
    • locate

      public freemarker.template.Template locate(Class<?> type, String templateName)