Re: [JBoss-user] EJB Query Language question

2002-09-03 Thread Dain Sundstrom
Michael Nowotny wrote: > Hi folks! > > Using EJB ql it is possible define template queries such as > > SELECT OBJECT(p) FROM Product p where p.name = ?1 > > Now - what I'm trying to achieve is the following: > The query should not only return exact matches but products whose name > contains

Re: [JBoss-user] EJB Query Language question

2002-09-03 Thread marius
On Tue, Sep 03, 2002 at 06:20:21PM +0200, Michael Nowotny wrote: > Hi folks! > > Using EJB ql it is possible define template queries such as > > SELECT OBJECT(p) FROM Product p where p.name = ?1 > > Now - what I'm trying to achieve is the following: > The query should not only return exact mat

[JBoss-user] EJB Query Language question

2002-09-03 Thread Michael Nowotny
Hi folks!   Using EJB ql it is possible define template queries such as   SELECT OBJECT(p) FROM Product p where p.name = ?1   Now - what I'm trying to achieve is the following: The query should not only return exact matches but products whose name contains a given search string as well. My