Re: Error: Parameter #1 has not been set

From: Andrus Adamchik (andru..bjectstyle.org)
Date: Thu Apr 26 2007 - 14:04:21 EDT

  • Next message: Peter Schröder: "AW: AW: AW: postgres, idle in transaction"

    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



    This archive was generated by hypermail 2.0.0 : Thu Apr 26 2007 - 14:04:52 EDT