You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/site/xdoc/index.xml.vm
+8-14Lines changed: 8 additions & 14 deletions
Original file line number
Diff line number
Diff line change
@@ -76,7 +76,7 @@ dependencies {
76
76
</ul>
77
77
</section>
78
78
79
-
<sectionname="Configuring">
79
+
<sectionname="Configuration">
80
80
<subsectionname="Common">
81
81
<p>
82
82
By default, the <code>mybatis-freemarker.properties</code> file create in your classpath.
@@ -91,7 +91,7 @@ basePackage = sql
91
91
]]></source>
92
92
</li>
93
93
<li>
94
-
Since 2.1.0, you configure the FreeMarker configuration as follow:
94
+
Since 1.2.0, you configure the FreeMarker configuration.
95
95
About available setting name, please refer to <ahref="https://freemarker.apache.org/docs/api/freemarker/template/Configuration.html#setSetting-java.lang.String-java.lang.String-">the API documentation of FreeMarker</a>.
96
96
<source><![CDATA[
97
97
# freemarkerSettings.{name} = {value}
@@ -100,24 +100,18 @@ freemarkerSettings.interpolation_syntax = dollar
100
100
]]></source>
101
101
</li>
102
102
<li>
103
-
Since 2.1.0, you can use an any properties file instead of the default properties file.
104
-
If you use an any properties file, please specify a properties file using the special system properties(<code>mybatis-freemarker.config.file</code>) as follow:
103
+
Since 1.2.0, you can use an any properties file or encoding as follow:
Since 2.1.0, you can use an any file encoding instead of the default file encoding(UTF-8).
111
-
If you use an any file encoding, please specify a file encoding using the special system properties(<code>mybatis-freemarker.config.encoding</code>) as follow:
<p>If your are using annotations-driven mappers, you don't need to do anything more. If you are using XML-driven mappers too, you may need to do next steps:</p>
111
+
<subsectionname="Scripting Language Driver">
112
+
<p>
113
+
You may need to do next steps:
114
+
</p>
121
115
<ul>
122
116
<li>Register the language driver alias in your mybatis configuration file:
0 commit comments