hi there..
i want to ask if it's possible to execute runtime-generated query in 
finder
method.
For example let's say i have function ejbFindByDynamicQuery(String 
query)
in my bean and findByDynamicQuery(String query) in remote interface 
and i
want to execute that query in parameter like that:

-Client.java-
......
......
Collection c = xy.findByDynamicQuery( "SELECT OBJECT(a) FROM XYZ AS a 
WHERE
a.name = "xy" )
...and then something else
Collection c = xy.findByDynamicQuery( "SELECT OBJECT(a) FROM ABC AS a 
WHERE
a.foo = "1243" )
.....
.....

is it possible or not?
thanks a lot





____________________________________
http://www.pobox.sk/ - najvacsi slovensky freemail




==========================================================================To 
unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to