Package org.hibernate.annotations
Annotation Type Subselect
@Target(TYPE)@Retention(RUNTIME)public @interfaceSubselect
Maps an immutable and read-only entity to a given SQLselectexpression.This is an alternative to defining a database view and mapping the entity to the view using the
@Tableannotation.- See Also:
Synchronize
Element Detail
value
String value
The query.