I want to pass to a generic EntityManager an Entity and the name of a
NamedQuery. I then want to createNamedQuery using the name passed as a
parameter. Now the problem - I need to setParameter, the parameter
name/value would be different for each NamedQuery. Is there a way to
dynamically determine the name of the expected parameters? Then I could use
reflection to extract the value from the input Entity bean and supply as
input to the setParameter.     
-- 
View this message in context: 
http://openjpa.208410.n2.nabble.com/Generic-setParameter-on-createNamedQuery-query-tp5421070p5421070.html
Sent from the OpenJPA Users mailing list archive at Nabble.com.

Reply via email to