Quantcast
Channel: MySQL Forums - Connector/J, JDBC and Java
Viewing all articles
Browse latest Browse all 884

New parameters in Stored Procedure + Java Servlets (no replies)

$
0
0
Hi.

I have a Java Servlet which calls a Stored Procedure sending 3 parameters. It works fine.

Now i'm making some changes in the database and i realized that Stored Procedure should receive 4 parameters instead of 3 so it can do his work.

My question is: What could happen if i change the Stored Procedure without changing the Servlet? Will the Servlet crash due to the missing parameter?

I have this question because the servlet and the new version (with the SP call modified) will be working on the same database for a while for testing.

I've thinking of creating another SP, or changing both versions of the servlet. And yes, testing must be done on the same database :S

I want to know what you think. Thanks.

Viewing all articles
Browse latest Browse all 884

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>