This week's book giveaway is in the Design forum.
We're giving away four copies of Building Microservices and have Sam Newman on-line!
See this thread for details.
The moose likes JDBC and Relational Databases and the fly likes Ordinal Binding and Named Binding cannot be combined together Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Building Microservices this week in the Design forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "Ordinal Binding and Named Binding cannot be combined together" Watch "Ordinal Binding and Named Binding cannot be combined together" New topic
Author

Ordinal Binding and Named Binding cannot be combined together

priya chitra
Greenhorn

Joined: Jan 04, 2013
Posts: 2


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!


Priya
Martin Vajsar
Sheriff

Joined: Aug 22, 2010
Posts: 3718
    
  61

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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Ordinal Binding and Named Binding cannot be combined together
 
It's not a secret anymore!