2020-06-30 16:26:02.541 ERROR 15308 --- [nio-8081-exec-4] o.a.c.c.C.[.[.[.[dispatcherServlet] : Servlet.service() for servlet [dispatcherServlet] in context with path [/ddmobile] threw exception [Request processing failed; nested exception is org.springframework.jdbc.UncategorizedSQLException: PreparedStatementCallback; uncategorized SQLException for SQL [{call query_classitem (?)}]; SQL state [null]; error code [-4476]; [jcc][10100][10910][4.25.13] 调用了 java.sql.PreparedStatement.executeQuery(),但是未返回任何结果集,
in eclipse error screenshot

change directly on the toad called stored procedures can return result sets

in Java using the same method calls another stored procedure can return to normal result sets, not don't understand why the stored procedure, doubt is written by the stored procedure has a problem, the following stored procedure code

CodePudding user response:
There is an error? 4476CodePudding user response: