• Post Reply Bookmark Topic Watch Topic
  • New Topic

errors while invoking stored procedure's from java

 
keerthi vineela
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi ,

If we get an error while executing a function/stored procedure from java, how will we know whether it is a logical error or functional error. what is the approach.

Thanks,
Keerthi
 
Campbell Ritchie
Marshal
Posts: 53140
124
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What is the difference between a logical error and a functional error?
 
keerthi vineela
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
My question is :

For example:
I got an error while invoking function/stored procedure from java.
How to find whether the error occurred because of my java code(Logical error) or invoking function/stored procudure is producing the error due to which I am getting error in java code.
 
Campbell Ritchie
Marshal
Posts: 53140
124
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You have’t justified there being a difference between logical and function errors.
What happened when you called your stored procedure from the command line without any Java code?
 
keerthi vineela
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In java Logical/function error is same.
The function error I mentioned was "The error occurred due to invoking function/stored procedure from java".
Thats fine.

This is the one of the interview question asked to me ,but I have no idea how to recognize.
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!