From: Jeremy B. <je...@co...> - 2003-06-05 18:05:40
|
Sorry, I meant to say in the deployment descriptor <query> <query-method> <method-name>findByParamenter</method-name> <method-params> <method-param>java.lang.String</method-param> <method-param>java.lang.String</method-param> </method-params> </query-method> ... </query> At least, I think that may be your issue. Jeremy /************************* * Jeremy Boynes * Partner * Core Developers Network *************************/ > -----Original Message----- > From: Jeremy Boynes [mailto:je...@co...] > Sent: Thursday, June 05, 2003 11:01 AM > To: jbo...@li... > Subject: RE: [JBoss-user] EJB-QL > > > You must use fully qualified class names > findByParamenter(java.lang.String name, java.lang.String age) > > Jeremy > > /************************* > * Jeremy Boynes > * Partner > * Core Developers Network > *************************/ > > > -----Original Message----- > > From: jbo...@li... > > [mailto:jbo...@li...]On Behalf Of Maiquel > > Sampaio de Melo > > Sent: Thursday, June 05, 2003 10:46 AM > > To: jbo...@li... > > Subject: [JBoss-user] EJB-QL > > > > > > Hi friends, > > Please, anybody can say where is the error? > > > > This is my procedure: > > findByParamenter(String name, String age). > > > > SELECT OBJECT(o) FROM Client o WHERE (o.name = ?1 OR > > ?1 IS NULL) AND (o.age = ?2 OR ?2 IS NULL). > > > > If any paramenter is null, there isn't any problem. > > Can you understand my poor English? I'm sorry... > > > > Sincerely, > > Maiquel > > > > > > > > _______________________________________________________________________ > > Yahoo! Mail > > Mais espaço, mais segurança e gratuito: caixa postal de 6MB, > > antivírus, proteção contra spam. > > http://br.mail.yahoo.com/ > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: Etnus, makers of TotalView, The best > > thread debugger on the planet. Designed with thread debugging features > > you've never dreamed of, try TotalView 6 free at www.etnus.com. > > _______________________________________________ > > JBoss-user mailing list > > JBo...@li... > > https://lists.sourceforge.net/lists/listinfo/jboss-user > > |