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
Bug description
The class JdbcCursorItemReaderBuilder does not set a default value for the boolean property ignoreWarnings. Consequently, ignoreWarnings implicitly defaults to false. When the method build() is invoked, the value false is assigned to the JdbcCursorItemReader's ignoreWarnings variable.
ignoreWarnings: Determines whether or not SQLWarnings are logged or cause an exception. The default is true (meaning that warnings are logged).
The proposed solution is to set the default value of ignoreWarnings to true. This adjustment ensures that if the parameter is not explicitly set, warnings will be only logged, aligning with the documented behavior.
The text was updated successfully, but these errors were encountered:
Bug description
The class
JdbcCursorItemReaderBuilder
does not set a default value for the boolean propertyignoreWarnings
. Consequently,ignoreWarnings
implicitly defaults to false. When the methodbuild()
is invoked, the value false is assigned to theJdbcCursorItemReader
'signoreWarnings
variable.This behavior deviates from the expected one as described in the Spring Batch Database documentation, which states:
The proposed solution is to set the default value of
ignoreWarnings
to true. This adjustment ensures that if the parameter is not explicitly set, warnings will be only logged, aligning with the documented behavior.The text was updated successfully, but these errors were encountered: