Annotation Type 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:
    Synchronize
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      String value
      The query.
    • Element Detail

      • value

        String value
        The query.