[jboss-user] [EJB 3.0] - Re: @NamedQuery and setting orderBy as a parameter?

mazz@jboss.com do-not-reply at jboss.com
Wed Jan 31 15:31:41 EST 2007

> Query q = em.createNamedQuery(findHottestContent + " order by viewsWeekly desc"); 

that doesn't work!! That's not a named query.

This is a very big thing missing in the spec, this much is clear.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4009005#4009005

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4009005

More information about the jboss-user mailing list