[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: What is wrong with this query?

jaikiran do-not-reply at jboss.com
Thu Jan 24 08:58:26 EST 2008


anonymous wrote : select auth from Author join auth.books book where book = :book order by auth.lastName

You haven't defined the auth alias.

Change it to

select auth from Author auth join auth.books book where book = :book order by auth.lastName

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

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



More information about the jboss-user mailing list