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(since="3.10.0", forRemoval=true) public static freemarker.template.Template findTemplate(Class<?> type, String templateName)
      Deprecated, for removal: This API element is subject to removal in a future version.
      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)