org.springframework.jdbc.UncategorizedSQLException: (executing PreparedStatementCallback [org.springframework.jdbc.core.JdbcTemplate$SimplePreparedStatementCreator@4ec78d]): encountered SQLException [Invalid column type]; nested exception is java.sql.SQLException: Invalid column type

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Spring JIRA by Matthew Sgarlata, 1 year ago
(executing PreparedStatementCallback [org.springframework.jdbc.core.JdbcTemplate$SimplePreparedStatementCreator@4ec78d]): encountered SQLException [Invalid column type]; nested exception is java.sql.SQLException: Invalid column type
via Spring JIRA by Matthew Sgarlata, 1 year ago
(executing PreparedStatementCallback [org.springframework.jdbc.core.JdbcTemplate$SimplePreparedStatementCreator@4ec78d]): encountered SQLException [Invalid column type]; nested exception is java.sql.SQLException: Invalid column type
via Coderanch by Keerthi Kumar, 10 months ago
PreparedStatementCallback; uncategorized SQLException for SQL [insert into movies_tbl(id,title,price,lang) values (?,?,?,?)]; SQL state [S1000]; error code [0]; General error; nested exception is java.sql.SQLException: General error
via symmetricds by moshe1011
, 1 year ago
(?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)]; SQL state [S1000]; error code [0]; Cannot convert class java.lang.String to SQL type requested due to java.lang.NullPointerException - null; nested exception is java.sql.SQLException: Cannot convert class java.lang.String to SQL type requested due to java.lang.NullPointerException - null
via symmetricds by sunildims
, 1 year ago
StatementCallback; uncategorized SQLException for SQL [select set_config('symmetric.triggers_disabled', '', false)]; SQL state [25P02]; error code [0]; ERROR: current transaction is aborted, commands ignored until end of transaction block; nested
via Stack Overflow by user962206
, 2 years ago
StatementCallback; uncategorized SQLException for SQL [Select empID from User]; SQL state [S1009]; error code [0]; Column Index out of range, 2 > 1. ; nested exception is java.sql.SQLException: Column Index out of range, 2 > 1.
org.springframework.jdbc.UncategorizedSQLException: (executing PreparedStatementCallback [org.springframework.jdbc.core.JdbcTemplate$SimplePreparedStatementCreator@4ec78d]): encountered SQLException [Invalid column type]; nested exception is java.sql.SQLException: Invalid column type
at org.springframework.jdbc.support.SQLStateSQLExceptionTranslator.translate(SQLStateSQLExceptionTranslator.java:94)
at org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.translate(SQLErrorCodeSQLExceptionTranslator.java:281)
at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:340)
at org.springframework.jdbc.core.JdbcTemplate.update(JdbcTemplate.java:491)
at org.springframework.jdbc.core.JdbcTemplate.update(JdbcTemplate.java:543)
at com.bah.krm.util.JdbcTemplateSqlUtils.execute(JdbcTemplateSqlUtils.java:466)
at com.bah.krm.ql.sql.impl.ExecutableOperation.execute(ExecutableOperation.java:37)
at com.bah.imako.staffing.StaffingService.staff(StaffingService.java:99)
at undefined.Test.main(Test.java:42)
at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
at org.springframework.aop.framework.Cglib2AopProxy$MethodInvocationImpl.invokeJoinpoint(Cglib2AopProxy.java:912)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:139)
at undefined.Test$$EnhancerByCGLIB$$18959700.main()
at undefined.Test.main(Test.java:54)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago

Know the solutions? Share your knowledge to help other developers to debug faster.