Win a copy of Machine Learning Systems: Designs that scale this week in the Scala forum
or Xamarin in Action: Creating native cross-platform mobile apps in the Android forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

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

 
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.
 
Sheriff
Posts: 21330
87
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.
 
get schwifty. tiny ad:
Rocket Oven Kickstarter - from the trailboss
https://coderanch.com/t/695773/Rocket-Oven-Kickstarter-trailboss
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!