Previous topic  Top  Next topic  Print this Topic



KAON2Factory.queryDefinition(..) and the semantics of QueryDefinition.getDistinguishedVariables have been changed.


The KAON2Factory.queryDefinition() methods did allow specifying both query options and distinguished variables. The problem was that the query option "outorder" basically specifies the same information as the distinguished variables array. So we removed the "distinguishedVariables" parameter from all KAON2Factory.queryDefinition(...) methods. If you want to specify the order of the result variables then you have to use the "outorder" query option. When you use the API you might use the QueryOptions.setOrderedVariables(Variable[]) method.


Note that QueryDefinition.getDistinguishedVariables() now returns the same value as Query.getDistinguishedVariables().