On Fri, 17 Feb 2012 12:07:52 -0200, George Christman <gchrist...@cardaddy.com> wrote:

So what is the final query recommendation? Are we sticking with HQL, or are we converting it to use the Criteria API?

In this case, the structure of the query is static, just the number of parameters in the "in" clause is dynamic, so I'd use HQL and setParameterList().

--
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate consultant, developer, and instructor
Owner, Ars Machina Tecnologia da Informação Ltda.
http://www.arsmachina.com.br

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to