File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Tomcat and the fly likes Problem refreshing a Stored Procedure Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Problem refreshing a Stored Procedure" Watch "Problem refreshing a Stored Procedure" New topic
Author

Problem refreshing a Stored Procedure

Saumya Nair
Ranch Hand

Joined: Apr 25, 2006
Posts: 34
Hello all,


I m using Tomacat to run a web-application. Used stored procedure to access data from MSSQL Server. But when i re-run the application, it always calls the old stored procedure,while the result displayed in the Query Analyser is the modified one. Tried restarting the server as well as deleting the work folder and the generated class files too. But no change.

Even if i add/remove a parameter in the already created stored procedure it refuses to accept it. Gives an SQLException sayin the parameter is coded.Checked the code.. No errors with the code..

Plz help
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

Duplicate of:
http://www.coderanch.com/t/304321/JDBC/java/Stored-procedure-not-being-refreshed

Saumya Nair,
Please take a moment to read: CarefullyChooseOneForum
and find out why cross-posting your question in multiple forums and repeatedly posting the same question in the same forum will actually lower your chances of getting a quality answer.

Besides making your issue confusing and hard to read, spreading the conversation across multiple threads and multiple forums has the potential to really infuriate the very people who are most capable of helping you.

I can tell you from first hand experience that there are few things more aggravating that reading a question, thinking about it, guessing at an answer, looking things up and possibly running the solution to insure that you don't post a bad answer, then posting it; only to find out that the question had already been answered in another thread.
[ July 13, 2006: Message edited by: Ben Souther ]

Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Problem refreshing a Stored Procedure