|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Target(value=TYPE) @Retention(value=RUNTIME) public @interface SqlResultSetMapping
This annotation is used to specify the mapping of the result of a native SQL query
Required Element Summary | |
---|---|
String |
name
The name given to the result set mapping, and used to refer to it in the methods of the Query API |
Optional Element Summary | |
---|---|
ColumnResult[] |
columns
Specifies the result set mapping to scalar values |
EntityResult[] |
entities
Specifies the result set mapping to entities |
Element Detail |
---|
public abstract String name
public abstract EntityResult[] entities
public abstract ColumnResult[] columns
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |