Top Description Methods
org.hibernate.annotations

public @Interface Subselect

extends Annotation
Annotations
@Target:TYPE
@Retention:RUNTIME
Imports
java.lang.annotation.Retention, .Target

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.

Author
Sharath Reddy
See Also
Synchronize

Method Summary

Modifier and TypeMethod and Description
public String
value()

The query.

Inherited from java.lang.annotation.Annotation:
annotationTypeequalshashCodetoString

Method Detail

valueback to summary
public String value()

The query.