Re: query properties

From: Aristedes Maniatis (ar..sh.com.au)
Date: Fri Nov 30 2007 - 22:50:57 EST


On 01/12/2007, at 2:36 PM, Kevin Menard wrote:

> Map<String, Object> wouldn't work because you wouldn't be able to
> pass in
> say, Map<String, String>. You'd probably be looking for
> Map<String, ?> or
> some extends variant.

Yes, you are right. I was thinking of it from the perspective of
creating the Map in the application which passes the parameters to
Cayenne.

I also found this in Expression:

      *..aram parameters a map of parameters, with each key being a
string name of an
      * expression parameter, and value being the value
that should be used in
      * the final expression.

and a fair amount of code which seems to assume the key is a String
and the value any type of Object.

Ari

-------------------------->
ish
http://www.ish.com.au
Level 1, 30 Wilson Street Newtown 2042 Australia
phone +61 2 9550 5001 fax +61 2 9550 4001
GPG fingerprint CBFB 84B4 738D 4E87 5E5C 5EFA EF6A 7D2E 3E49 102A



This archive was generated by hypermail 2.0.0 : Fri Nov 30 2007 - 22:51:37 EST