I have changed the executeQuery(...) method of the Registry interface to get parameters as a Map, instead of a Object[]. This allows the query parameters to be given as name->value pairs, which would be useful in supporting different query types.

New method signature:

Resource executeQuery(String path, Map parameters) throws RegistryException;

For executing SQL queries parameters have to be given as

"1"->param1
"2"->param2

where 1, 2, .. are the parameter positions in the SQL string.

Thanks,
Chathura

_______________________________________________
Registry-dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/registry-dev

Reply via email to