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

Reply via email to