@Override
    public String render(String sql, StatementContext ctx) {
        STGroup group = new STGroup();
        group.setListener(new ErrorListener(ctx));
        ST template = new ST(group, sql);

        ctx.getAttributes().forEach(template::add);

        return template.render();
    }
Rewrites a StringTemplate template, using the attributes on the {@link StatementContext} as template parameters.
For configuration, see {@link StringTemplates}.
stringtemplate4/src/main/java/org/jdbi/v3/stringtemplate4/StringTemplateEngine.java