-
Notifications
You must be signed in to change notification settings - Fork 99
ORA-32108: max column or parameter size not specified using several OUT parameters #152
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I took out the 3 strings... and now the code is just like this...
It is still telling me error ORA-32108 so probably something regarding the ref_cursor... should i put it max column or something like that ? the cursor returns 14 columns and works ok from SQL-Developer |
I used to get that error when some columns of returned cursor contained explicit uncasted NULL. |
Thanks, i have control of the pl/sql code but i don't understand very well what i'm supposed to do. Should i convert all NULLs into empty strings (like '' in Oracle) ? |
In fact, now it's working but the issue remains if somebody will like to fix it. in the ORACLE code, it was something like this... select field1, field2, '' field3 from dual... field3 was the one creating the problem. And well, when the columns are NULL there is no problem at all in this case... |
My problem was solved when I changed |
Mainly as a note to self, here are posts describing how to fix this issue: https://community.oracle.com/thread/469953 Essentially we'd need to call |
I am having problems with this code, i am executing an ORACLE proc that has 2 in string parameters and 4 out parameters, 3 of those are strings and one is a ref cursor...
This is getting me this error (ORACE-32108) even when specificating the parameter size regarding strings. Is there a way to specify max column or what am i doing wrong in this code ...
p_merchantcode = '00030312152';
p_language = 'ESPA';
//
oraconn.execute("call IC_INTC_COMERCIO.ObtenerLiquidaComercioRefCur(:1,:2,:3,:4,:5,:6)",
[p_merchantcode, p_language,
new oracle.OutParam(oracle.OCCICURSOR),
new oracle.OutParam(oracle.OCCISTRING, {size: 1000}),
new oracle.OutParam(oracle.OCCISTRING, {size: 1000}),
new oracle.OutParam(oracle.OCCISTRING, {size: 1000})],
function (err, results) { .........
The text was updated successfully, but these errors were encountered: