This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
The moose likes JDBC and Relational Databases and the fly likes wrong number of type of argument while calling oracle procedure from java. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "wrong number of type of argument while calling oracle procedure from java. " Watch "wrong number of type of argument while calling oracle procedure from java. " New topic
Author

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

Jigar Naik
Ranch Hand

Joined: Dec 12, 2006
Posts: 761
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.


Jigar Naik


Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 20132
    
  30

The function takes two parameters and returns a VARCHAR2. You call it as if the return value was a third parameter.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6 - OCEJPAD 6
How To Ask Questions How To Answer Questions
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: wrong number of type of argument while calling oracle procedure from java.
 
It's not a secret anymore!