File tree Expand file tree Collapse file tree 4 files changed +7
-7
lines changed
java/org/mybatis/scripting/thymeleaf
java/org/mybatis/scripting/thymeleaf Expand file tree Collapse file tree 4 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -759,7 +759,7 @@ This configuration is optional. The non 2-way SQL can be use on the 2-way SQL mo
759
759
[source,properties]
760
760
.How to configure using configuration properties file(src/main/resources/mybatis-thymeleaf.properties)
761
761
----
762
- use-2way = false # <1>
762
+ use2way = false # <1>
763
763
----
764
764
765
765
or
@@ -771,7 +771,7 @@ configuration.getLanguageRegistry().register(new ThymeleafLanguageDriver(
771
771
ThymeleafLanguageDriverConfig.newInstance(c -> c.setUse2Way(false)))); // <2>
772
772
----
773
773
774
- <1> Set the `use-2way ` to `false`
774
+ <1> Set the `use2way ` to `false`
775
775
<2> Set the `use2way` property to `false`
776
776
777
777
@@ -1084,7 +1084,7 @@ The mybatis-thymeleaf provides following properties for customizing configuratio
1084
1084
1085
1085
4+|*General configuration*
1086
1086
1087
- |`use-2way `
1087
+ |`use2way `
1088
1088
|Whether use the 2-way SQL feature
1089
1089
|`Boolean`
1090
1090
|`true` (enable the 2-way SQL feature)
@@ -1179,7 +1179,7 @@ The mybatis-thymeleaf provides following properties for customizing configuratio
1179
1179
[source,properties]
1180
1180
.src/main/resources/mybatis-thymeleaf.properties
1181
1181
----
1182
- use-2way = false
1182
+ use2way = false
1183
1183
customizer = com.example.MyTemplateEngineCustomizer
1184
1184
template-file.cache-enabled = true
1185
1185
template-file.cache-ttl = 3600000
Original file line number Diff line number Diff line change @@ -588,7 +588,7 @@ public void setLikeAdditionalEscapeTargetChars(Character... likeAdditionalEscape
588
588
* <th colspan="3">General configuration</th>
589
589
* </tr>
590
590
* <tr>
591
- * <td>use-2way </td>
591
+ * <td>use2way </td>
592
592
* <td>Whether use the 2-way SQL</td>
593
593
* <td>{@code true}</td>
594
594
* </tr>
Original file line number Diff line number Diff line change @@ -299,7 +299,7 @@ void testCustomWithBuilderUsingCustomProperties() {
299
299
System .setProperty ("mybatis-thymeleaf.config.file" , "mybatis-thymeleaf-empty.properties" );
300
300
Configuration configuration = new Configuration ();
301
301
Properties customProperties = new Properties ();
302
- customProperties .setProperty ("use-2way " , "false" );
302
+ customProperties .setProperty ("use2way " , "false" );
303
303
customProperties .setProperty ("customizer" , "org.mybatis.scripting.thymeleaf.CustomTemplateEngineCustomizer" );
304
304
customProperties .setProperty ("template-file.cache-enabled" , "false" );
305
305
customProperties .setProperty ("template-file.cache-ttl" , "30000" );
Original file line number Diff line number Diff line change 14
14
# limitations under the License.
15
15
#
16
16
17
- use-2way =false
17
+ use2way =false
18
18
customizer =org.mybatis.scripting.thymeleaf.CustomTemplateEngineCustomizer
19
19
template-file.cache-enabled =false
20
20
template-file.cache-ttl =30000
You can’t perform that action at this time.
0 commit comments