Annotation Type ResultColumn


@Retention(SOURCE)
@Target(FIELD)
@Documented
@Repeatable(ResultColumns.class)
public @interface ResultColumn
Used to document a column that is supposed to be returned by the DQL.
Author:
Donal Fellows
  • Required Element Summary

    Required Elements 
    Modifier and Type Required Element Description
    String value
    Describes a column that is expected in the result.
  • Element Details

    • value

      String value
      Describes a column that is expected in the result.
      Returns:
      The column names.