[Registry-dev] Queries with named parameters
Jonathan Marsh
jonathan at wso2.com
Wed Nov 14 09:03:50 PST 2007
Opened JIRA REGISTRY-11
Jonathan Marsh - http://www.wso2.com - http://auburnmarshes.spaces.live.com
> -----Original Message-----
> From: registry-dev-bounces at wso2.org [mailto:registry-dev-
> bounces at wso2.org] On Behalf Of Deepal Jayasinghe
> Sent: Tuesday, November 06, 2007 11:33 AM
> To: registry-dev at wso2.org
> Subject: Re: [Registry-dev] Queries with named parameters
>
>
> > 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
>
>
>
> _______________________________________________
> Registry-dev mailing list
> Registry-dev at wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/registry-dev
More information about the Registry-dev
mailing list