Forums Register Login

Ordinal Binding and Named Binding cannot be combined together

+Pie Number of slices to send: Send

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!
+Pie Number of slices to send: Send
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.
They worship nothing. They say it's because nothing is worth fighting for. Like this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 5105 times.
Similar Threads
Why variables created in Stack are not initialized
Ordinal binding and Named binding cannot be combined!
Calling stored procedures from hibernate
AJAX help needed
Set Chained OFF error while executing from my Bean
More...

All times above are in ranch (not your local) time.
The current ranch time is
Apr 16, 2024 03:36:35.