RE: Error: Parameter #1 has not been set

From: Alejandro Daniel Toffetti (toffeda..oteria.gba.gov.ar)
Date: Fri Apr 27 2007 - 12:42:46 EDT

  • Next message: Andrus Adamchik: "Re: Jgroups config file"

    Hi !!

            It didn't worked, even when I modified everything (the stored procedure,
    the xml datamap and the java code) to call a SP with no parameters, it still
    shows me the same error...

    Hi Daniel,

    On Apr 26, 2007, at 7:39 PM, Alejandro Daniel Toffetti wrote:
    > q.addParameter("RegionID", 1);

    I think you need to use the .. sign in the parameter name
    (..egionID"). To Cayenne "@" has no special meaning in this case, so
    the parameter name is taken literally.

    Andrus
    No virus found in this incoming message.
    Checked by AVG Free Edition.
    Version: 7.5.463 / Virus Database: 269.6.1/776 - Release Date: 25/04/2007
    12:19

    No virus found in this outgoing message.
    Checked by AVG Free Edition.
    Version: 7.5.467 / Virus Database: 269.6.1/777 - Release Date: 26/04/2007
    15:23



    This archive was generated by hypermail 2.0.0 : Fri Apr 27 2007 - 12:43:20 EDT