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: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of Maiquel > Sampaio de Melo > Sent: Thursday, June 05, 2003 10:46 AM > To: [EMAIL PROTECTED] > 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 > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user > ------------------------------------------------------- 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 [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user