Re: Problem with IN parameters to an Oracle stored procedure



On Nov 8, 12:34 am, swetha <swethasiva...@xxxxxxxxx> wrote:
On Nov 7, 4:03 pm, "joeNOS...@xxxxxxx" <joe.weinst...@xxxxxxxxx>
wrote:

what happens if you change the procedure definition to have all
the parameters defined as NUMBER

Tried that now. No luck. Still the same.

, or NUMBER (20,0)?

What do you mean by that?
clientID IN NUMBER (20,0)
gives me a compile error.

nevermind. So if you do this:


CallableStatement cs = conn.prepareCall("{call InsertValue(?, 1, 1,
235234)}");
cs.registerOutParameter(1, Types.INTEGER);
boolean result = cs.execute();
int ID = cs.getInt(1);

does it work?

I would make a simple standalone program that creates it's own
table, inserts a row or two, and creates a procedure with the
same signature as yours, and then duplicates the problem. That
would be perfect for Oracle support.
Joe

.



Relevant Pages

  • Re: To Joe Fallon - tried, but no work.
    ... Good luck. ... Then it highlights the Sub ... > an error saying "Compile Error - Variable not defined". ...
    (microsoft.public.access.externaldata)
  • RE: VBA Code Help
    ... Good Luck ... "alfiajamel" wrote: ... quotes and I am still getting a compile error. ... coding is below: ...
    (microsoft.public.access.formscoding)
  • To Joe Fallon - tried, but no work.
    ... When I clicked on the control button, ... Manipulate and Excel Workbook) No luck here either. ... an error saying "Compile Error - Variable not defined". ... Then it highlights the next to the last line of code ...
    (microsoft.public.access.externaldata)
  • Re: criteria and dates
    ... Assuming that is in fact of type DateTime, ... Good Luck! ... Chaim ... > Nevermind, I still need help! ...
    (microsoft.public.access.queries)
  • Access Import problem
    ... have learned that often a database can become "broken" ... and "repair and compact" under Tools does not fix it. ... compile error in any module can have far reaching effects. ... >I've reinstalled office with no such luck. ...
    (microsoft.public.access.externaldata)