Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Ordinal Binding and Named Binding cannot be combined together

 
priya chitra
Greenhorn
Posts: 2
Java Notepad Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Hi. I am getting a similar message in callable statement as "ordinal binding and named binding cannot be combined together" when calling a procedure. The proc is returning null when calling through Java, whereas in SQL developer it is not returning null. The procedure has 14 IN parameters and 1 OUT Parameter "{call EMPLOYEE_INSERT_DTLS(?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)}" . Please help!
 
Martin Vajsar
Sheriff
Posts: 3752
62
Chrome Netbeans IDE Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to the Ranch, Priya!

You'll probably need to provide more information (see TellTheDetails ⇐ click). That would mean all of the code that pertains to the execution of this statement, preferably the definition of the stored procedure and also which database/version are you using. I believe you'll get some advice after that.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic