Yes, I think u can do it. For eg. if I want to select employees whose empno > 7000 and salary > 3000 Then your typical finder query syntax, parameters >>> (java.lang.Integer empno, java.lang.Double sal) query >>>> (& (> empno 7000) (> sal 3000)) I hope this might help u... Bye.
Joined: Feb 13, 2001
Thanks Anita, But could you tell me how to handle queries with more than one AND condition. say if empno > 7000 and salary > 3000 and name = 'xyz' .Because & is a boolean operator would you have to do (& (& (> empno 7000) (> sal 3000)) (=name 'xyz') ) ???.Any ideas /suggestions ???