com.ibm.db2.jcc.am.SqlSyntaxErrorException

[jcc][1091][10404][4.13.80] Invalid data conversion: Parameter instance REC_ID is invalid for the requested conversion. ERRORCODE=-4461, SQLSTATE=42815

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web6

  • via Unknown by Martin Šimka,
  • Stack trace

    • com.ibm.db2.jcc.am.SqlSyntaxErrorException: [jcc][1091][10404][4.13.80] Invalid data conversion: Parameter instance REC_ID is invalid for the requested conversion. ERRORCODE=-4461, SQLSTATE=42815 at com.ibm.db2.jcc.am.id.a(id.java:677) at com.ibm.db2.jcc.am.id.a(id.java:60) at com.ibm.db2.jcc.am.id.a(id.java:103) at com.ibm.db2.jcc.am.kc.a(kc.java:774) at com.ibm.db2.jcc.am.kc.a(kc.java:689) at com.ibm.db2.jcc.am.go.a(go.java:1583) at com.ibm.db2.jcc.am.go.setString(go.java:1538) at org.jboss.jca.adapters.jdbc.WrappedPreparedStatement.setString(WrappedPreparedStatement.java:637) at org.springframework.jdbc.core.StatementCreatorUtils.setValue(StatementCreatorUtils.java:421)[spring-jdbc-4.2.5.RELEASE.jar:4.2.5.RELEASE] at org.springframework.jdbc.core.StatementCreatorUtils.setParameterValueInternal(StatementCreatorUtils.java:235)[spring-jdbc-4.2.5.RELEASE.jar:4.2.5.RELEASE] at org.springframework.jdbc.core.StatementCreatorUtils.setParameterValue(StatementCreatorUtils.java:150)[spring-jdbc-4.2.5.RELEASE.jar:4.2.5.RELEASE] at org.springframework.jdbc.core.PreparedStatementCreatorFactory$PreparedStatementCreatorImpl.setValues(PreparedStatementCreatorFactory.java:292)[spring-jdbc-4.2.5.RELEASE.jar:4.2.5.RELEASE] at org.springframework.jdbc.core.PreparedStatementCreatorFactory$PreparedStatementCreatorImpl.createPreparedStatement(PreparedStatementCreatorFactory.java:244)[spring-jdbc-4.2.5.RELEASE.jar:4.2.5.RELEASE] at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:623)[spring-jdbc-4.2.5.RELEASE.jar:4.2.5.RELEASE]

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown visitor
    Unknown visitorOnce,