Interview Questions

What is error "ORA-6502?"

BEA WebLogic Questions and Answers


(Continued from previous question...)

What is error "ORA-6502?"

The default length of a string bound to an OUTPUT parameter of a CallableStatement is 128 characters. If the value you assign to the bound parameter exceeds that length, you will get this error.
You can adjust the length of the value of the bound parameter by passing an explicit length with the scale argument to the CallableStatement.registerOutputParameter() method.

(Continued on next question...)

Other Interview Questions