I'm digging in the ClusterBuilder code now, on behalf of the database search
queries project.

The methods obtainSelectField() and getFunctionParameters() seem to be
concerned with extracting fieldnames from function parameterlists and adding
the fields to the SQL query.

E.g. when one of the fieldnames is an expression of this form:
     f1(fielda, fieldb)
then fielda and fieldb will be added to the fieldlist in the resulting SQL
query, instead of the original expression.

Apparently this attempts to replace the original expression by the name of
the field(s) needed to evaluate the expression.
However, I have not been able to find code that does actually evaluate the
original expression based on the retreived values.
Failing that, it looks to me like fieldnames containing such expressions are
never going to work and the code concerned is obsolete.

Is this correct or am I overlooking something?

Rob van Maris
Developer

Finalist IT Group
Java Specialists
-------------------------------------------------------------
Amsterdam, The Netherlands
Office: +31 20 5962321 (Direct)
Mobile: +31 651444006
Fax: +31 20 5962331
-------------------------------------------------------------




Reply via email to