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
14:40:48.525 DEBUG org.hibernate.SQL
Caller+0 at org.hibernate.engine.jdbc.spi.SqlStatementLogger.logStatement(SqlStatementLogger.java:104)
=>
update
DATA_24
set
...
where
ROWID = ?
.....
14:40:48.545 TRACE org.springframework.jdbc.core.StatementCreatorUtils
Caller+0 at org.springframework.jdbc.core.StatementCreatorUtils.setParameterValueInternal(StatementCreatorUtils.java:206)
=> Setting SQL statement parameter value: column index 7, parameter value [null], value class [null], SQL type unknown
14:40:48.606 DEBUG org.springframework.jdbc.core.StatementCreatorUtils
Caller+0 at org.springframework.jdbc.core.StatementCreatorUtils.setNull(StatementCreatorUtils.java:234)
=> JDBC 3.0 getParameterType call not supportedjava.sql.SQLException: Unsupported feature
at oracle.jdbc.driver.OracleParameterMetaData.getParameterType(OracleParameterMetaData.java:166) ~[ojdbc6-11.2.0.3.0.jar:11.2.0.3.0]
at org.springframework.jdbc.core.StatementCreatorUtils.setNull(StatementCreatorUtils.java:231) [spring-jdbc-3.2.4.RELEASE.jar:3.2.4.RELEASE]
....
fixed but dumping a long trace from OracleParameterMetaData.getParameterType is unnecessary because of stupid logging logic of StatementCreatorUtils.setNull
Coincidentally, this has been fixed for 4.0 RC1 and 3.2.5 already, following a recent discussion triggered by #14818. We're logging a single debug line with the exception type and message now but no stacktrace anymore.
Oleksandr Gavenko opened SPR-11017 and commented
This logging output shown more than any words:
Related bugs:
#14818
#15018
#10668
fixed but dumping a long trace from
OracleParameterMetaData.getParameterType
is unnecessary because of stupid logging logic ofStatementCreatorUtils.setNull
My logback logging settings:
Affects: 3.2.4
The text was updated successfully, but these errors were encountered: