HQL queries are useful when only the parameters of the query change. 
Dynamic queries are useful when the query is built at runtime. for example 
if the selected fields, or criteria (where clause) changes. The most common 
example is a traditional search screen.

some prefer to use dynamic/linq queries all the time because R# can aid in 
refactoring. I haven't found named queries to be a problem, and prefer to 
use them when possible. it's easier to read sql/hql than criteria or linq.


-- 
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/nhusers?hl=en.

Reply via email to