Re: [JBoss-user] Problem with Query containing LIKE

2003-02-06 Thread Dain Sundstrom
EJB-Ql in EJB 2.0 does not allow parameters in the like clause. EJB 2.1 does have this support but 2.1 will not be supported until JBoss 4.0. In the mean time use JBossQL which supports parameters in the like clause. -dain On Thursday, February 6, 2003, at 05:54 AM, Rupp,Heiko wrote: Hi,

Re: [JBoss-user] Problem with Query containing LIKE

2003-02-06 Thread Dain Sundstrom
EJB-Ql in EJB 2.0 does not allow parameters in the like clause. EJB 2.1 does have this support but 2.1 will not be supported until JBoss 4.0. In the mean time use JBossQL which supports parameters in the like clause. -dain On Thursday, February 6, 2003, at 05:54 AM, Rupp,Heiko wrote: Hi,

RE: [JBoss-user] Problem with Query containing LIKE

2003-02-06 Thread Rupp,Heiko
Hi, > -Original Message- > From: Langelage, Frank [mailto:[EMAIL PROTECTED]] > * query="SELECT OBJECT(o) FROM Address AS o WHERE o.matchcode LIKE ?1" > On deployment of the EntityBean I get an exception. > The EJBQLCompiler JBoss4 doesn't like this. It wants a STRING_LITERAL > after L