This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Call PLSQL procedure from Java, parameter error

 
Gab Smith
Greenhorn
Posts: 1
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I've got this oracle plsql procedure:



I like to call from java:


But it'a not work, throw parameter collision error.



I try change


to


but not works.

What's the problem?

Please help! Thanks for all reply!

 
Martin Vajsar
Sheriff
Pie
Posts: 3747
62
Chrome Netbeans IDE Oracle
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to Coderanch!

I'm not sure this is going to help, but I'd try binding the parameters by position, not by name.

If it doesn't help, post full stack trace of the exception you're getting, including the line at which it occurs.
 
Tina Smith
Ranch Hand
Posts: 208
9
Eclipse IDE Firefox Browser Java
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator




These look like they might cause a problem? Mainly the first one since you can't have two parameters named p_blob.
 
Ravi Majety
Ranch Hand
Posts: 59
Eclipse IDE Java Oracle
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please post some StacTrace . It would help others to resolve the issue.

Let us know Is this statement failed even though you set the input and output parameters to CallableStatement using indexing as below.

 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic