Dynamic query over web services -
Does anyone know how to implement a dynamic query on web services? For example, taking an example like HQL, I would like to present a string such as "Select from person to person". And the person has soap reaction containing an array of soap items. This does not really answer your question, but executing a dynamic query from the web service is dangerous. If your service performs the query directly, then your clients may potentially delete / update / insert / drop tables / etc. And messing up your database.
I advise to apply more specific service methods that accept specific arguments and return type-safe items or collections.
Comments
Post a Comment