aspose file tools*
The moose likes JDBC 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
JavaRanch » Java Forums » Databases » JDBC
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: 3610
    
  60

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