Error attempting to get column 'USER_ID' from result set.: Cause: java.sql.SQLException: 无法转换为内部表示

 SEVERE [http-apr-8086-exec-10] org.apache.catalina.core.StandardWrapperValve.invoke Servlet.service() for servlet [springMVC] in context with path [/test] threw exception [Request processing failed; nested exception is org.springframework.jdbc.UncategorizedSQLException: Error attempting to get column 'USER_ID' from result set.  Cause: java.sql.SQLException: 无法转换为内部表示

类型不一致,前台传的是string ,而set get是int无法转为内部表示

你可能感兴趣的:(Error attempting to get column 'USER_ID' from result set.: Cause: java.sql.SQLException: 无法转换为内部表示)