cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alejandro Daniel Toffetti" <toffe...@loteria.gba.gov.ar>
Subject RE: Error: Parameter #1 has not been set
Date Fri, 27 Apr 2007 16:42:46 GMT
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
("@RegionID"). 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



Mime
View raw message