Package org.hibernate.annotations
Annotation Type Subselect
-
@Target(TYPE) @Retention(RUNTIME) public @interface Subselect
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
-
-
Element Detail
-
value
String value
The query.
-
-