Class FreeMarkerSqlSource

java.lang.Object
org.mybatis.scripting.freemarker.FreeMarkerSqlSource
All Implemented Interfaces:
org.apache.ibatis.mapping.SqlSource

public class FreeMarkerSqlSource extends Object implements org.apache.ibatis.mapping.SqlSource
Applies provided parameter(s) to FreeMarker template. Then passes the result into default MyBatis engine (and it finally replaces #{}-params to '?'-params). So, FreeMarker is used as preprocessor for MyBatis engine.
Author:
elwood