Yes, it does. Queries are cached based on the HQL + parameter 
*declarations*, so, two queries with the same HQL and different parameters 
will only be stored once. If there are so many cached queries, I can only 
imagine that they are not using parameters, but it's just a wild guess.

RP

On Friday, December 5, 2014 7:39:18 AM UTC, Gunnar Liljas wrote:
>
> Does HQL even support non-parametrized queries?
>
> 2014-12-05 5:44 GMT+01:00 Ricardo Peres <[email protected] <javascript:>>:
>
>> If you are using LINQ, it uses parameters.
>>
>> --
>> You received this message because you are subscribed to the Google Groups 
>> "nhusers" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected] <javascript:>.
>> To post to this group, send email to [email protected] 
>> <javascript:>.
>> Visit this group at http://groups.google.com/group/nhusers.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/nhusers.
For more options, visit https://groups.google.com/d/optout.

Reply via email to