Skip to content

Commit 81650cc

Browse files
committed
added docs for proxyFactory
1 parent 9229e1a commit 81650cc

File tree

5 files changed

+165
-25
lines changed

5 files changed

+165
-25
lines changed

src/site/es/xdoc/configuration.xml

Lines changed: 33 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -310,6 +310,21 @@ SqlSessionFactory factory = sqlSessionFactoryBuilder.build(reader, environment,
310310
org.apache.ibatis.scripting.xmltags.XMLDynamicLanguageDriver
311311
</td>
312312
</tr>
313+
<tr>
314+
<td>
315+
callSettersOnNulls
316+
</td>
317+
<td>
318+
Permite especificar si se invocarán a los setters y a los métodos put de los mapas si el valor obtenido es null.
319+
Te en cuenta que si se activa las propiedades que puedan ser informadas con nulos no pueden ser de tipos primitivos.
320+
</td>
321+
<td>
322+
true | false
323+
</td>
324+
<td>
325+
false
326+
</td>
327+
</tr>
313328
<tr>
314329
<td>
315330
logPrefix
@@ -326,17 +341,30 @@ SqlSessionFactory factory = sqlSessionFactoryBuilder.build(reader, environment,
326341
</tr>
327342
<tr>
328343
<td>
329-
callSettersOnNulls
344+
logImpl
330345
</td>
331346
<td>
332-
Permite especificar si se invocarán a los setters y a los métodos put de los mapas si el valor obtenido es null.
333-
Te en cuenta que si se activa las propiedades que puedan ser informadas con nulos no pueden ser de tipos primitivos.
347+
Permite especificar qué implementación de logging utilizar. Si no está informado la impelmentación se descubrirá automaticamente.
334348
</td>
335349
<td>
336-
true | false
350+
SLF4J | LOG4J | JDK_LOGGING | COMMONS_LOGGING | STDOUT_LOGGING | NO_LOGGING
337351
</td>
338352
<td>
339-
false
353+
No informado
354+
</td>
355+
</tr>
356+
<tr>
357+
<td>
358+
proxyFactory
359+
</td>
360+
<td>
361+
Permite especificar qué herramienta de generación de proxys se usará para crear los objetos con capacidad de carga lazy.
362+
</td>
363+
<td>
364+
CGLIB | JAVASSIST
365+
</td>
366+
<td>
367+
CGLIB
340368
</td>
341369
</tr>
342370
</tbody>

src/site/ja/xdoc/configuration.xml

Lines changed: 33 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -341,6 +341,21 @@ SqlSessionFactory factory = sqlSessionFactoryBuilder.build(reader, environment,
341341
org.apache.ibatis.scripting.xmltags.XMLDynamicLanguageDriver
342342
</td>
343343
</tr>
344+
<tr>
345+
<td>
346+
callSettersOnNulls
347+
</td>
348+
<td>
349+
受け取った値が null の場合にセッターあるいは Map の put メソッドを呼び出すかどうかを指定します。
350+
true を指定した場合、null がセットされる可能性があるプロパティをプリミティブ型として定義することはできません。
351+
</td>
352+
<td>
353+
true | false
354+
</td>
355+
<td>
356+
false
357+
</td>
358+
</tr>
344359
<tr>
345360
<td>
346361
logPrefix
@@ -357,17 +372,30 @@ SqlSessionFactory factory = sqlSessionFactoryBuilder.build(reader, environment,
357372
</tr>
358373
<tr>
359374
<td>
360-
callSettersOnNulls
375+
logImpl
361376
</td>
362377
<td>
363-
受け取った値が null の場合にセッターあるいは Map の put メソッドを呼び出すかどうかを指定します。
364-
true を指定した場合、null がセットされる可能性があるプロパティをプリミティブ型として定義することはできません。
378+
Specifies which logging implementation MyBatis should use. If this setting is not present logging implementation will be autodiscovered.
365379
</td>
366380
<td>
367-
true | false
381+
SLF4J | LOG4J | JDK_LOGGING | COMMONS_LOGGING | STDOUT_LOGGING | NO_LOGGING
368382
</td>
369383
<td>
370-
false
384+
Not set
385+
</td>
386+
</tr>
387+
<tr>
388+
<td>
389+
proxyFactory
390+
</td>
391+
<td>
392+
Specifies the proxy tool that MyBatis will use for creating lazy loading capable objects.
393+
</td>
394+
<td>
395+
CGLIB | JAVASSIST
396+
</td>
397+
<td>
398+
CGLIB
371399
</td>
372400
</tr>
373401
</tbody>

src/site/ko/xdoc/configuration.xml

Lines changed: 33 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -292,6 +292,21 @@ SqlSessionFactory factory = sqlSessionFactoryBuilder.build(reader, environment,
292292
org.apache.ibatis.scripting.xmltags.XMLDynamicLanguageDriver
293293
</td>
294294
</tr>
295+
<tr>
296+
<td>
297+
callSettersOnNulls
298+
</td>
299+
<td>
300+
Specifies if setters or map's put method will be called when a retrieved value is null. Note that if set, properties
301+
that may be filled with null values must never be primitives.
302+
</td>
303+
<td>
304+
true | false
305+
</td>
306+
<td>
307+
false
308+
</td>
309+
</tr>
295310
<tr>
296311
<td>
297312
logPrefix
@@ -308,17 +323,30 @@ SqlSessionFactory factory = sqlSessionFactoryBuilder.build(reader, environment,
308323
</tr>
309324
<tr>
310325
<td>
311-
callSettersOnNulls
326+
logImpl
312327
</td>
313328
<td>
314-
Specifies if setters or map's put method will be called when a retrieved value is null. Note that if set, properties
315-
that may be filled with null values must never be primitives.
329+
Specifies which logging implementation MyBatis should use. If this setting is not present logging implementation will be autodiscovered.
316330
</td>
317331
<td>
318-
true | false
332+
SLF4J | LOG4J | JDK_LOGGING | COMMONS_LOGGING | STDOUT_LOGGING | NO_LOGGING
319333
</td>
320334
<td>
321-
false
335+
Not set
336+
</td>
337+
</tr>
338+
<tr>
339+
<td>
340+
proxyFactory
341+
</td>
342+
<td>
343+
Specifies the proxy tool that MyBatis will use for creating lazy loading capable objects.
344+
</td>
345+
<td>
346+
CGLIB | JAVASSIST
347+
</td>
348+
<td>
349+
CGLIB
322350
</td>
323351
</tr>
324352
</tbody>

src/site/xdoc/configuration.xml

Lines changed: 33 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -407,6 +407,21 @@ SqlSessionFactory factory = sqlSessionFactoryBuilder.build(reader, environment,
407407
org.apache.ibatis.scripting.xmltags.XMLDynamicLanguageDriver
408408
</td>
409409
</tr>
410+
<tr>
411+
<td>
412+
callSettersOnNulls
413+
</td>
414+
<td>
415+
Specifies if setters or map's put method will be called when a retrieved value is null. Note that if set, properties
416+
that may be filled with null values must never be primitives.
417+
</td>
418+
<td>
419+
true | false
420+
</td>
421+
<td>
422+
false
423+
</td>
424+
</tr>
410425
<tr>
411426
<td>
412427
logPrefix
@@ -423,17 +438,30 @@ SqlSessionFactory factory = sqlSessionFactoryBuilder.build(reader, environment,
423438
</tr>
424439
<tr>
425440
<td>
426-
callSettersOnNulls
441+
logImpl
427442
</td>
428443
<td>
429-
Specifies if setters or map's put method will be called when a retrieved value is null. Note that if set, properties
430-
that may be filled with null values must never be primitives.
444+
Specifies which logging implementation MyBatis should use. If this setting is not present logging implementation will be autodiscovered.
431445
</td>
432446
<td>
433-
true | false
447+
SLF4J | LOG4J | JDK_LOGGING | COMMONS_LOGGING | STDOUT_LOGGING | NO_LOGGING
434448
</td>
435449
<td>
436-
false
450+
Not set
451+
</td>
452+
</tr>
453+
<tr>
454+
<td>
455+
proxyFactory
456+
</td>
457+
<td>
458+
Specifies the proxy tool that MyBatis will use for creating lazy loading capable objects.
459+
</td>
460+
<td>
461+
CGLIB | JAVASSIST
462+
</td>
463+
<td>
464+
CGLIB
437465
</td>
438466
</tr>
439467
</tbody>

src/site/zh/xdoc/configuration.xml

Lines changed: 33 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -373,6 +373,21 @@ SqlSessionFactory factory = sqlSessionFactoryBuilder.build(reader, environment,
373373
org.apache.ibatis.scripting.xmltags.XMLDynamicLanguageDriver
374374
</td>
375375
</tr>
376+
<tr>
377+
<td>
378+
callSettersOnNulls
379+
</td>
380+
<td>
381+
Specifies if setters or map's put method will be called when a retrieved value is null. Note that if set, properties
382+
that may be filled with null values must never be primitives.
383+
</td>
384+
<td>
385+
true | false
386+
</td>
387+
<td>
388+
false
389+
</td>
390+
</tr>
376391
<tr>
377392
<td>
378393
logPrefix
@@ -389,17 +404,30 @@ SqlSessionFactory factory = sqlSessionFactoryBuilder.build(reader, environment,
389404
</tr>
390405
<tr>
391406
<td>
392-
callSettersOnNulls
407+
logImpl
393408
</td>
394409
<td>
395-
Specifies if setters or map's put method will be called when a retrieved value is null. Note that if set, properties
396-
that may be filled with null values must never be primitives.
410+
Specifies which logging implementation MyBatis should use. If this setting is not present logging implementation will be autodiscovered.
397411
</td>
398412
<td>
399-
true | false
413+
SLF4J | LOG4J | JDK_LOGGING | COMMONS_LOGGING | STDOUT_LOGGING | NO_LOGGING
400414
</td>
401415
<td>
402-
false
416+
Not set
417+
</td>
418+
</tr>
419+
<tr>
420+
<td>
421+
proxyFactory
422+
</td>
423+
<td>
424+
Specifies the proxy tool that MyBatis will use for creating lazy loading capable objects.
425+
</td>
426+
<td>
427+
CGLIB | JAVASSIST
428+
</td>
429+
<td>
430+
CGLIB
403431
</td>
404432
</tr>
405433
</tbody>

0 commit comments

Comments
 (0)