This week's giveaway is in the EJB and other Java EE Technologies forum. We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line! See this thread for details.
Hi. I'm using Hibernate as a persistence provider framework and JPA annotations to map domain classes to the database. I have two classes: Author and Book and the relationship is many-to-many. I defined this names query:
IntelliJ is telling me that there is something wrong with this query but I'm not convinced to run a SeamTest to try it. I got a HibernateException (IntelliJ was right after all). Whats wrong with HQL? Thanks.