Skip Headers

# Adding Report Query Attributes

Previous

Next

Use this dialog box to add a report query attribute.

Select the attribute you want in this report query and use the following table to complete the dialog box and add the report query attribute:

Option | 'Description
--- | ---
Allows None or Allows Null | Use the Allows Null and Allows None options to define an expression with an outer join. Check the Allows Null option to use the `ExpressionBuilder` method `getAllowingNull`. Check the Allows None option for `Collection` attributes to use the `ExpressionBuilder` method `anyOfAllowingNone`. For more information, see "Using TopLink Expression API For Joins".
Function | Select from the list of report query functions that TopLink provides. This function will be applied to the specified attribute. You must select an attribute for all functions, except Count. Alternatively, you can enter the name of a custom function that you implement in your database. For more information, see `Expression` method `getFunction` in the API reference.
Name | The name associated with the calculated value. By default, the name is `<``AttributeName``><``FunctionName``>`.

Enter the necessary information and click OK. TopLink Workbench adds the report query attribute to the list of attributes in the Attribute tab.

See Also

  Configuring Named Query Attributes