Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #9419

Re: python error PLS-00306: wrong number or types of arguments in

From John Gordon <gordon@panix.com>
Newsgroups comp.lang.python
Subject Re: python error PLS-00306: wrong number or types of arguments in
Date 2011-07-13 17:40 +0000
Organization PANIX Public Access Internet and UNIX, NYC
Message-ID <ivklaj$ik5$1@reader1.panix.com> (permalink)
References <01efb6ac-deaa-4bdb-8b2d-b603bdddec57@n5g2000yqh.googlegroups.com>

Show all headers | View raw


In <01efb6ac-deaa-4bdb-8b2d-b603bdddec57@n5g2000yqh.googlegroups.com> Adeoluwa Odein <stratfordtenants@gmail.com> writes:

> Hello
> I am using the zxJDBC package with jython (similar to python), and I
> am having "python error PLS-00306: wrong number or types of arguments"
> error when using the "callproc()" method to execute a stored
> procedure.

> The Oracle stored procedure takes a single OUT varchar2 parameter.  My
> code is as follows:

> p = [None]
> c.callproc('pkg1_returns', p);

If the procedure takes a varchar2 parameter, why are you passing [None]?

It might help if you posted the method signature of the Oracle stored
procedure you're trying to call.

-- 
John Gordon                   A is for Amy, who fell down the stairs
gordon@panix.com              B is for Basil, assaulted by bears
                                -- Edward Gorey, "The Gashlycrumb Tinies"

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

python error PLS-00306: wrong number or types of arguments in Adeoluwa Odein <stratfordtenants@gmail.com> - 2011-07-13 10:11 -0700
  Re: python error PLS-00306: wrong number or types of arguments in John Gordon <gordon@panix.com> - 2011-07-13 17:40 +0000
    Re: python error PLS-00306: wrong number or types of arguments in Adeoluwa Odein <stratfordtenants@gmail.com> - 2011-07-13 10:58 -0700
      Re: python error PLS-00306: wrong number or types of arguments in John Gordon <gordon@panix.com> - 2011-07-13 18:10 +0000
        Re: python error PLS-00306: wrong number or types of arguments in Adeoluwa Odein <stratfordtenants@gmail.com> - 2011-07-13 11:18 -0700
          Re: python error PLS-00306: wrong number or types of arguments in John Gordon <gordon@panix.com> - 2011-07-13 18:26 +0000
            Re: python error PLS-00306: wrong number or types of arguments in Adeoluwa Odein <stratfordtenants@gmail.com> - 2011-07-13 11:32 -0700
              Re: python error PLS-00306: wrong number or types of arguments in John Gordon <gordon@panix.com> - 2011-07-13 20:09 +0000
                Re: python error PLS-00306: wrong number or types of arguments in Adeoluwa Odein <stratfordtenants@gmail.com> - 2011-07-13 13:33 -0700
                Re: python error PLS-00306: wrong number or types of arguments in John Gordon <gordon@panix.com> - 2011-07-13 21:02 +0000
                Re: python error PLS-00306: wrong number or types of arguments in Adeoluwa Odein <stratfordtenants@gmail.com> - 2011-07-13 14:06 -0700
                Re: python error PLS-00306: wrong number or types of arguments in John Gordon <gordon@panix.com> - 2011-07-13 21:19 +0000
                Re: python error PLS-00306: wrong number or types of arguments in Adeoluwa Odein <stratfordtenants@gmail.com> - 2011-07-13 14:28 -0700
                Re: python error PLS-00306: wrong number or types of arguments in Adeoluwa Odein <stratfordtenants@gmail.com> - 2011-07-13 14:28 -0700
                Re: python error PLS-00306: wrong number or types of arguments in Terry Reedy <tjreedy@udel.edu> - 2011-07-13 17:18 -0400
            Re: python error PLS-00306: wrong number or types of arguments in Adeoluwa Odein <stratfordtenants@gmail.com> - 2011-07-13 11:33 -0700

csiph-web