简体   繁体   中英

Calling oracle stored procedure from java

I am calling a stored procedure in oracle from Java client.

There is a problem when passing string of length about 80 characters from Java into procedure parameter.

Although it works fine for smaller string.

The error thrown was "

numeric or value error: character string buffer too small"

What could be the reason?

Check the IN parameter in the procedure to which you are passing this 80 char string. Looks like you are trying to assign it to a param which can only hold a smaller string.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM