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

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -