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

Adeoluwa Odein stratfordtenants at gmail.com
Wed Jul 13 20:32:18 CEST 2011


On Jul 13, 2:26 pm, John Gordon <gor... at panix.com> wrote:
> In <d45161dc-648c-4a44-a563-317b5f5e5... at h14g2000yqd.googlegroups.com> Adeoluwa Odein <stratfordtena... at gmail.com> writes:
>
> > The actual jython/python call is:
It's taking an OUT parameter.. I'm just following the examples as
documented by zxJDBC.  How can I fix it?




> > p =3D [None]
> > c.callproc('c2_pkg.RS22', p);
> > I used a placeholder initially; now that you have the SQL code, there
> > it is.  It essentially invokes the stored procedure, and it should
> > return the OUT variable p, with some value.  It doesn't have to be a
> > cursor fetch; even a minor text assignment.
>
> That procedure is defined as taking one parameter, but you're passing
> an empty parameter list.  Why?
>
> --
> John Gordon                   A is for Amy, who fell down the stairs
> gor... at panix.com              B is for Basil, assaulted by bears
>                                 -- Edward Gorey, "The Gashlycrumb Tinies"




More information about the Python-list mailing list