Resolve Java.sql.SQLException:Parameter number X is not an out parameter--turn

Source: Internet
Author: User

I've been writing a project on my own for a while and the ape is really hurting!

Java calls MySQL with input and output parameters stored procedure title error: Java.sql.SQLException:Parameter number x is not a out Parameter (X means a digit)

According to the Convention, immediately after the Google search error, the answer is in the URL 1, 2 said to delete the output parameters behind the comments ah what.

But I tried or not, the remote asked the QQ group of peers to ask no solution. The day of the pit daddy is so wasted.

Today decided to re-write a test-specific pass-through stored procedure, recall.

Nieme Ah! The Pit Daddy!! found that the original only to call the stored procedure name is wrong, the stored procedure does not exist just cause!!!

Before the name is "Prc_splite_page", then the team leader will not want me to change to "Sp_splite_page", but the project was suspended for two months has been forgotten to change.

Then, then, I have this lonely program ape on the Cup.

This ape is hereby a tree card in front of this pit, and we are fortunate to see you do not jump.

Original address: http://blog.csdn.net/lutinghuan/article/details/9271311

Resolve Java.sql.SQLException:Parameter number X is not an out parameter--turn

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.