Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> call SP from EJB - error: Data size is bigger than ...

call SP from EJB - error: Data size is bigger than ...

From: Joerg Elster <andrea.joerg_at_xtra.co.nz>
Date: Tue, 14 Mar 2000 10:04:25 +0100
Message-ID: <38CE0099.4561B8C@xtra.co.nz>


Hi all,

I am trying to call a stored procedures within an EJB by using the CallableStatement. The stored procedures has one 'in' and one 'out' parameter (both varchar2). By binding a String value to the 'in' parameter using .setString() the program throws a SQLException saying 'Data size is bigger than max. size of type: 9080'. 9080 is the size of my String. I am using ORACLE 7.

Is it a driver problem? Do I have to use another binding type? Is there a way around by using LONG and how can I do this from Java?

Thanks for any help.
Joerg Received on Tue Mar 14 2000 - 03:04:25 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US