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
759759[source,properties]
760760.How to configure using configuration properties file(src/main/resources/mybatis-thymeleaf.properties)
761761----
762- use-2way = false # <1>
762+ use2way = false # <1>
763763----
764764
765765or
@@ -771,7 +771,7 @@ configuration.getLanguageRegistry().register(new ThymeleafLanguageDriver(
771771 ThymeleafLanguageDriverConfig.newInstance(c -> c.setUse2Way(false)))); // <2>
772772----
773773
774- <1> Set the `use-2way ` to `false`
774+ <1> Set the `use2way ` to `false`
775775<2> Set the `use2way` property to `false`
776776
777777
@@ -1084,7 +1084,7 @@ The mybatis-thymeleaf provides following properties for customizing configuratio
10841084
108510854+|*General configuration*
10861086
1087- |`use-2way `
1087+ |`use2way `
10881088|Whether use the 2-way SQL feature
10891089|`Boolean`
10901090|`true` (enable the 2-way SQL feature)
@@ -1179,7 +1179,7 @@ The mybatis-thymeleaf provides following properties for customizing configuratio
11791179[source,properties]
11801180.src/main/resources/mybatis-thymeleaf.properties
11811181----
1182- use-2way = false
1182+ use2way = false
11831183customizer = com.example.MyTemplateEngineCustomizer
11841184template-file.cache-enabled = true
11851185template-file.cache-ttl = 3600000
Original file line number Diff line number Diff line change @@ -588,7 +588,7 @@ public void setLikeAdditionalEscapeTargetChars(Character... likeAdditionalEscape
588588 * <th colspan="3">General configuration</th>
589589 * </tr>
590590 * <tr>
591- * <td>use-2way </td>
591+ * <td>use2way </td>
592592 * <td>Whether use the 2-way SQL</td>
593593 * <td>{@code true}</td>
594594 * </tr>
Original file line number Diff line number Diff line change @@ -299,7 +299,7 @@ void testCustomWithBuilderUsingCustomProperties() {
299299 System .setProperty ("mybatis-thymeleaf.config.file" , "mybatis-thymeleaf-empty.properties" );
300300 Configuration configuration = new Configuration ();
301301 Properties customProperties = new Properties ();
302- customProperties .setProperty ("use-2way " , "false" );
302+ customProperties .setProperty ("use2way " , "false" );
303303 customProperties .setProperty ("customizer" , "org.mybatis.scripting.thymeleaf.CustomTemplateEngineCustomizer" );
304304 customProperties .setProperty ("template-file.cache-enabled" , "false" );
305305 customProperties .setProperty ("template-file.cache-ttl" , "30000" );
Original file line number Diff line number Diff line change 1414# limitations under the License.
1515#
1616
17- use-2way =false
17+ use2way =false
1818customizer =org.mybatis.scripting.thymeleaf.CustomTemplateEngineCustomizer
1919template-file.cache-enabled =false
2020template-file.cache-ttl =30000
You can’t perform that action at this time.
0 commit comments