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

Adeoluwa Odein stratfordtenants at gmail.com
Wed Jul 13 22:33:22 CEST 2011


On Jul 13, 4:09 pm, John Gordon <gor... at panix.com> wrote:
> > It's taking an OUT parameter.. I'm just following the examples as
> > documented by zxJDBC.  How can I fix it?
>
> I suspect the example you're looking at was for a procedure which has no
> arguments, so in that case it would make sense to pass an empty parameter
> list.
>
> I haven't worked with OUT parameters so I don't know if this will work,
> but try it and see what happens:
>
>   my_string = ""
>   p = [my_string]
>   c.callproc('c2_pkg.RS22', p);
>   print p
>
> --
> 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"


The same error. The sample were found on the following site --I copied
exactly what is written there:
1. http://www.jython.org/archive/21/docs/zxjdbc.html






More information about the Python-list mailing list