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

  • Post author:
  • Post category:java


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无法转为内部表示



版权声明:本文为ningzxg原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。