• 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
Sheriff
Posts: 51349
87
  • 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
Sheriff
Posts: 51349
87
  • 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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic