Package org.hibernate.annotations

Annotation Type Subselect


  • @Target(TYPE)@Retention(RUNTIME)public @interfaceSubselect
    Maps an immutable and read-only entity to a given SQLselect expression.

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

    See Also:
    Synchronize
    • Required Element Summary

      Required Elements 
      Modifier and TypeRequired ElementDescription
      Stringvalue
      The query.
    • Element Detail