Hi All,
I need to expose an interface which has an api named
Query(String hqlQuery);
--> hqlQuery takes a HQL string, but the challenge here is that,
this HQL query should not have attribute names, for eg;
hqlQuery => "from Datamodel.class.getName() as dm where
dm.name = "manager".
attribute "dm.name" is exposed to the ui which i do not want to go with.
Since ui has setter methods,
Can I build a query with setters in it, or is there another way out.
Any suggestions are also welcomed in the approach.
Thanks,
Lakshmi
|