Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

wrong number of type of argument while calling oracle procedure from java.

 
Jigar Naik
Ranch Hand
Posts: 762
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I have written one function in oracle.



and i am trying to all this function though java as below.



but i am getting error message wrong number of argument or type. Can anybody help me out with this. the argument seems like ok. and type also seems to be ok.



Can anybody please help me out with this.
 
Rob Spoor
Sheriff
Pie
Posts: 20492
54
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The function takes two parameters and returns a VARCHAR2. You call it as if the return value was a third parameter.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic