This content has been marked as final.
Show 3 replies
-
1. Re: JBossCMP: wrong query generated for EJB-QL
dsundstrom Feb 27, 2002 2:21 PM (in response to pazu)The old EJB-QL compiler in 3.0beta did not print error messages when it was passed bad ejb-ql.
My guess is that o.divisao is collection valued or o.divisao.id is not the same type as parameter 1 (EJB-QL is strongly typed).
If you can't figure it out, try the new EJB-QL compiler is CVS (yes, you will have to build from source). -
2. Re: JBossCMP: wrong query generated for EJB-QL
pazu Feb 27, 2002 2:23 PM (in response to pazu)The problem was with <declared-sql> elements. Once I removed all <declared-sql>'s, the problem was gone. I think I got the wrong idea about this element. I'll look into the new JBoss-QL to do sorting.
-
3. Re: JBossCMP: wrong query generated for EJB-QL
pazu Feb 27, 2002 2:28 PM (in response to pazu)Now, Dain, could you please take a loo at my other post (http://main.jboss.org/thread.jsp?forum=46&thread=9793)