Loading
Java Persistence API (JPA) Extensions Reference for EclipseLink, Release 2.4
  Go To Table Of Contents
Contents
 Search
Other Searches
 PDF
PDF
Comments
Comments


logging.parameters

Use eclipselink.logging.parameters to define if SQL bind parameters are included in exceptions and logs.


NoteNote:

This parameter applies to bind parameters only. Parameters are always displayed when not using binding.



Values

Table 5-57 describes this persistence property's values.

Table 5-57 Valid Values for logging.parameters

Value Description

true

Display the parameters.

false

Do not display the parameters.



Usage

By default, when using logging.level of FINE (or greater), SQL bind parameters are displayed. Use this parameter to override the default behavior.


Examples

Example 5-53 Using logging.parameters in persistence.xml


Example 5-54 Using logging.parameters in a Property Map



See Also

For more information, see:

Comments powered by Disqus