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,
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,
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