• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem refreshing a Stored Procedure

 
Saumya Nair
Ranch Hand
Posts: 34
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 13411
Firefox Browser Redhat VI Editor
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic