Re: [JBoss-user] character literal comparison in JBoss-QL

2002-11-06 Thread Rene Palad
Thanks. I was just migrating my codes from caucho resin-ee to jboss 3x. I guess 'char' comparison inside EJB-QL expression isn't in the specs but this worked fine in resin-ee, it appears that it was proprietary. I should have made it a String for portability. Anyway, as a workaround, I just pas

Re: [JBoss-user] character literal comparison in JBoss-QL

2002-11-06 Thread Dain Sundstrom
The jr.jrFundStatus field is obviously a number and therefore cannot be compared to a string literal. Either change the field to a String or change the query. -dain Rene Palad wrote: I've been doing a: * @jboss:query signature="Collection findFundStatusReservedByJbCode(java.lang.Integer JB_CO

[JBoss-user] character literal comparison in JBoss-QL

2002-11-06 Thread Rene Palad
I've been doing a: * @jboss:query signature="Collection findFundStatusReservedByJbCode(java.lang.Integer JB_CODE)" * query="SELECT OBJECT(jr) FROM GlJournalBatch jb, IN(jb.glJournals) jr WHERE jb.jbCode=?1 AND jr.jrFundStatus='R'" and keep getting a: org.jboss.deployment.DeploymentException: E