javax.persistence
@Target(value=TYPE) @Retention(value=RUNTIME) public @interface SqlResultSetMapping
Modifier and Type | Required Element and Description |
---|---|
java.lang.String |
name
The name given to the result set mapping, and used to refer to it in the methods of the Query API
|
Modifier and Type | Optional Element and Description |
---|---|
ColumnResult[] |
columns
Specifies the result set mapping to scalar values
|
EntityResult[] |
entities
Specifies the result set mapping to entities
|
public abstract java.lang.String name
public abstract EntityResult[] entities
public abstract ColumnResult[] columns