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
Mybatis-core is now being auto formatted. Given nature of some code logic with mybatis, it is more appropriate to force a formatting structure manually for snippets such as sql statements. To do so, add following blocks around code.
29
+
30
+
```// @formatter:off``` to start the block of unformatted code
31
+
```// @formatter:off``` to end the block of unformatted code
32
+
33
+
If comment sections need same behaviour such as javadocs, note that the entire block must be around entire comment as direct usage does not properly indicate that formatter treats it all as one comment block regardless.
* If cannot resolve a method by {@link org.apache.ibatis.builder.annotation.ProviderMethodResolver}(= not implement it or it was returned {@code null}),
89
-
* the MyBatis will search and use a fallback method that named {@code provideSql} from specified type
90
+
* If cannot resolve a method by {@link org.apache.ibatis.builder.annotation.ProviderMethodResolver}
91
+
* (= not implement it or it was returned <code>null</code>,
92
+
* the MyBatis will search and use a fallback method that named <code>provideSql</code> from
93
+
* specified type.
90
94
* </li>
91
95
* </ul>
96
+
* </pre>
92
97
*
93
98
* @return a method name of method for providing an SQL
* If cannot resolve a method by {@link org.apache.ibatis.builder.annotation.ProviderMethodResolver}(= not implement it or it was returned {@code null}),
89
-
* the MyBatis will search and use a fallback method that named {@code provideSql} from specified type
90
+
* If cannot resolve a method by {@link org.apache.ibatis.builder.annotation.ProviderMethodResolver}
91
+
* (= not implement it or it was returned <code>null</code>,
92
+
* the MyBatis will search and use a fallback method that named <code>provideSql</code> from specified type
90
93
* </li>
91
94
* </ul>
95
+
* </pre>
92
96
*
93
97
* @return a method name of method for providing an SQL
0 commit comments