javax.persistence
Annotation Type ColumnResult
@Target(value={})
@Retention(value=RUNTIME)
public @interface ColumnResult
References name of a column in the SELECT clause of a SQL query - i.e.,
column alias, if applicable. Scalar result types can be included in the query
result by specifying this annotation in the metadata.
- Author:
- Emmanuel Bernard
Required Element Summary |
String |
name
The name of a column in the SELECT clause of a SQL query |
name
public abstract String name
- The name of a column in the SELECT clause of a SQL query