Skip to content

Commit 2a18de5

Browse files
committed
[doc] Possible false-positives in autoMappingUnknownColumnBehavior [skip ci]
1 parent e68216b commit 2a18de5

File tree

5 files changed

+5
-0
lines changed

5 files changed

+5
-0
lines changed

src/site/es/xdoc/configuration.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -248,6 +248,7 @@ SqlSessionFactory factory = new SqlSessionFactoryBuilder().build(reader, environ
248248
<li><code>WARNING</code>: Output warning log (The log level of <code>'org.apache.ibatis.session.AutoMappingUnknownColumnBehavior'</code> must be set to <code>WARN</code>)</li>
249249
<li><code>FAILING</code>: Fail mapping (Throw <code>SqlSessionException</code>)</li>
250250
</ul>
251+
Note that there could be false-positives when `autoMappingBehavior` is set to `FULL`.
251252
</td>
252253
<td>
253254
NONE, WARNING, FAILING

src/site/ja/xdoc/configuration.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -271,6 +271,7 @@ SqlSessionFactory factory = new SqlSessionFactoryBuilder().build(reader, environ
271271
<li><code>WARNING</code>: 警告ログを出力します (<code>'org.apache.ibatis.session.AutoMappingUnknownColumnBehavior'</code> のログレベルを<code>WARN</code>に設定してください)</li>
272272
<li><code>FAILING</code>: 自動マッピング処理をエラーにします。(<code>SqlSessionException</code>が発生します)</li>
273273
</ul>
274+
この機能には制限があり、`autoMappingBehavior` に `FULL` がセットされていると誤った結果が報告される場合があります。
274275
</td>
275276
<td>
276277
NONE, WARNING, FAILING

src/site/ko/xdoc/configuration.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -242,6 +242,7 @@ SqlSessionFactory factory = new SqlSessionFactoryBuilder().build(reader, environ
242242
<li><code>WARNING</code>: 경고 로그를 출력(<code>'org.apache.ibatis.session.AutoMappingUnknownColumnBehavior'</code>의 로그레벨은 <code>WARN</code>이어야 한다.) </li>
243243
<li><code>FAILING</code>: 매핑이 실패한다. (<code>SqlSessionException</code>예외를 던진다.)</li>
244244
</ul>
245+
Note that there could be false-positives when `autoMappingBehavior` is set to `FULL`.
245246
</td>
246247
<td>
247248
NONE, WARNING, FAILING

src/site/xdoc/configuration.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -322,6 +322,7 @@ SqlSessionFactory factory =
322322
<li><code>WARNING</code>: Output warning log (The log level of <code>'org.apache.ibatis.session.AutoMappingUnknownColumnBehavior'</code> must be set to <code>WARN</code>)</li>
323323
<li><code>FAILING</code>: Fail mapping (Throw <code>SqlSessionException</code>)</li>
324324
</ul>
325+
Note that there could be false-positives when `autoMappingBehavior` is set to `FULL`.
325326
</td>
326327
<td>
327328
NONE, WARNING, FAILING

src/site/zh/xdoc/configuration.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -263,6 +263,7 @@ SqlSessionFactory factory = new SqlSessionFactoryBuilder().build(reader, environ
263263
的日志等级必须设置为 <code>WARN</code>)</li>
264264
<li><code>FAILING</code>: 映射失败 (抛出 <code>SqlSessionException</code>)</li>
265265
</ul>
266+
Note that there could be false-positives when `autoMappingBehavior` is set to `FULL`.
266267
</td>
267268
<td>
268269
NONE, WARNING, FAILING

0 commit comments

Comments
 (0)