[JBoss-user] [Persistence & CMP/JBoss] - Re: Bug in EJB QL compiler?

2004-04-14 Thread sesques
Hi, Post the exact log or your code snippet. Not enough info to investigate. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3830577#3830577 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3830577 --

[JBoss-user] [Persistence & CMP/JBoss] - Re: Bug in EJB QL compiler?

2004-04-14 Thread ManneF
Hi, Thanks for the reply - sorry about the terse info in my first post. Stepping through the JBoss code, I've found that the cause of the nullpointer is the fact that the getEntity() method in org.jboss.ejb.plugins.cmp.ejbql.ASTPath returns null, because the last object in the fieldList is nei

[JBoss-user] [Persistence & CMP/JBoss] - Re: Bug in EJB QL compiler?

2004-04-14 Thread sesques
Forget the JBoss code. Your fields originalLanguage and targetLanguage are CMP fields, not CMR. So they are mapped to a column type in your database. How can you define a finder taking parameters which are references to another bean, and compare them to column types. For me, your finder can only

[JBoss-user] [Persistence & CMP/JBoss] - Re: Bug in EJB QL compiler?

2004-04-19 Thread ManneF
Hi Sesques, Thanks for looking into this. The originalLanguage and targetLanguage fields (properties) are in fact references to other entity beans, not Strings or anything like that. Is there a problem with that? As I said, I'm new to JBoss CMP beans and wouldn't consider myself an expert on en

[JBoss-user] [Persistence & CMP/JBoss] - Re: Bug in EJB QL compiler?

2004-04-19 Thread sesques
"ManneF" wrote : Hi Sesques, | | Thanks for looking into this. | | The originalLanguage and targetLanguage fields (properties) are in fact references to other entity beans, not Strings or anything like that. Is there a problem with that? | | As I said, I'm new to JBoss CMP beans and