Annotation Interface Subselect


@Target(TYPE) @Retention(RUNTIME) public @interface Subselect
Maps an immutable and read-only entity to a given SQL select expression.

This is an alternative to defining a database view and mapping the entity to the view using the @Table annotation.

See Also:
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    The query.
  • Element Details

    • value

      String value
      The query.