Skip to content

The JDBCTempalte is logging at a WARN level for DB2 for SQLCode 100 (no rows returned) -- can this be moved to info? [SPR-2316] #7005

@spring-projects-issues

Description

@spring-projects-issues

Tom Greco opened SPR-2316 and commented

The JdbcTemplate is logging warn messages for SQLCode 100 (No rows returned). The logging level for this SQL Code seems to be high at warn since this is may be a desired result. Can this be lowered to info?

2006-07-18 10:24:51,685 [WebSphere t=009bbb00] WARN org.springframework.jdbc.core.JdbcTemplate - SQLWarning ignored: SQL state '02000', error code '100', message [[IBM/DB2][T2zos/1]T2zosPreparedStatement.readExecuteInternal:nativeExecute:4706:DB2 engine SQL warning, SQLCODE = 100, SQLSTATE = 02000, warning tokens = ]
2006-07-18 10:24:51,815 [WebSphere t=009bbb00] WARN org.springframework.jdbc.core.JdbcTemplate - SQLWarning ignored: SQL state '02000', error code '100', message [[IBM/DB2][T2zos/1]T2zosPreparedStatement.readExecuteInternal:nativeExecute:4706:DB2 engine SQL warning, SQLCODE = 100, SQLSTATE = 02000, warning tokens = ]
2006-07-18 10:24:53,162 [WebSphere t=009bbb00] WARN org.springframework.jdbc.core.JdbcTemplate - SQLWarning ignored: SQL state '02000', error code '100', message [[IBM/DB2][T2zos/1]T2zosPreparedStatement.readExecuteInternal:nativeExecute:4706:DB2 engine SQL warning, SQLCODE = 100, SQLSTATE = 02000, warning tokens = ]


Affects: 1.2.7, 1.2.8, 2.0 M3, 2.0 M4, 2.0 M5, 2.0 RC1, 2.0 RC2

Backported to: 1.2.9

Metadata

Metadata

Assignees

Labels

in: coreIssues in core modules (aop, beans, core, context, expression)status: backportedAn issue that has been backported to maintenance branchestype: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions