I have two Query with different criteria: the criteria for Query object 1 is name = "Test1" the criteria for Query object 2 is name = "Test2" as you know, the prepared sql statement generated for the two query object are same, the only difference is SQL bound values.
I want to know the keys generated for the two Query object via SqlCacheKey(Query, Cld, Type) are same or not? If not, the same prepared sql statement are cached multiple times, do this make sense? If same, how to compare two Query object, as you know, we can use public setter method setCriteria of QueryByCriteria to change content of criteria, the sql statement cached will not reflect the criteria change of Query. Can you drop me some idea? Any comments will be appreciated. Gene QIAN __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
