This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes JDBC and the fly likes How to get function return value Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "How to get function return value" Watch "How to get function return value" New topic
Author

How to get function return value

Piotr Sobolewski
Greenhorn

Joined: Jul 18, 2011
Posts: 3

Hi All!
It is my first post so if I am doing sth wrong please tell me.
I have a problem with value which is returned from postgresql function.
Probably java code is a problem but I will be very happy for yours help.

This is a sample function:


I expect that the function returns -3

When i use java code:


It always returns 0;
What is wrong?
I would be grateful for your help.

Best Regards!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to get function return value
 
Similar Threads
update record for selection of id
returning an int
value from servlet to dropdown in jsp
not getting value in doget method of servlet
Returning a 0 value error