1 Don't mess your JPADAO with named queries stuff Let's say I have tones of named queries through all my entities. These queries have one/two or more named parameters in conditional expression.The common way to encapsulate my named query lookup in my JPADAO is something like this:http://weblogs.java.net/blog/gadominas/archive/2008/01/dont_mess_you_j.html