|
EclipseLink 2.4.2, build 'v20130514-5956486' API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Target(value=TYPE) @Retention(value=RUNTIME) public @interface NamedStoredFunctionQuery
A NamedStoredFunctionQuery annotation allows the definition of queries that call stored functions as named queries. A NamedStoredFunctionQuery annotation may be defined on an Entity or MappedSuperclass.
Required Element Summary | |
---|---|
java.lang.String |
functionName
(Required) The name of the stored function. |
java.lang.String |
name
(Required) Unique name that references this stored function query. |
StoredProcedureParameter |
returnParameter
(Required) Defines the return value of the stored function. |
Optional Element Summary | |
---|---|
boolean |
callByIndex
(Optional) Defines if the stored procedure should be called by index or by name. |
QueryHint[] |
hints
(Optional) Query hints. |
StoredProcedureParameter[] |
parameters
(Optional) Defines the parameters to the stored function. |
java.lang.String |
resultSetMapping
(Optional) The name of the SQLResultMapping. |
Element Detail |
---|
public abstract java.lang.String name
public abstract java.lang.String functionName
public abstract StoredProcedureParameter returnParameter
public abstract QueryHint[] hints
public abstract java.lang.String resultSetMapping
public abstract boolean callByIndex
public abstract StoredProcedureParameter[] parameters
|
EclipseLink 2.4.2, build 'v20130514-5956486' API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |