Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to get function return value

 
Piotr Sobolewski
Greenhorn
Posts: 3
Mac Netbeans IDE Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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!
 
Consider Paul's rocket mass heater.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic