Hi all,
In my application I cant maintain any cache, even transaction level cache is not there, now... if I use HQL, in the debug logs I oftenly see a big structure printed which looks like: is generated while parsing the HQL and there is no such thing if I use native SQL query, I think though not sure that CPU usage should shoot up during this parsing (is it so..? or is it a one time thing) and in this scenario of mine where there is no cache and no session management for a particular object what would be the best fetch strategy I meant among criteria query, native SQL query and HQL query.
bye
Vivek
|