[Registry-dev] Queries with named parameters

Deepal Jayasinghe deepal at wso2.com
Tue Nov 6 11:32:32 PST 2007


> Problem:  The executeQuery method currently takes a path to the query,
> and a  list of parameter values, which are substituted into the SQL
> template in order.  We want to be able to acquire query parameters
> from a variety of sources and execute the query with them.  These
> sources include programmatically, from a user profile (what queries
> are on my home page?) or from a GET url representing a request for
> search results or a feed.  The current “in order” mechanism works fine
> for programmatic access, is OK for user profiles, but is hard to map
> into a GET url which uses unordered but named parameters.
>
So let's change the API, may be we should add one more API to the registry .

Thanks
Deepal





More information about the Registry-dev mailing list