|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Target(value=TYPE) @Retention(value=RUNTIME) public @interface NamedStoredProcedureQuery
A NamedStoredProcedureQuery annotation allows the definition of queries that call stored procedures as named queries. A NamedStoredProcedureQuery annotation may be defined on an Entity or MappedSuperclass.
org.eclipse.persistence.annotations.StoredProcedureParameter.
Required Element Summary | |
---|---|
String |
name
(Required) Unique name that references this stored procedure query. |
String |
procedureName
(Required) The name of the stored procedure. |
Optional Element Summary | |
---|---|
javax.persistence.QueryHint[] |
hints
(Optional) Query hints. |
StoredProcedureParameter[] |
parameters
(Optional) Defines arguments to the stored procedure. |
Class |
resultClass
(Optional) Refers to the class of the result. |
String |
resultSetMapping
(Optional) The name of the SQLResultMapping. |
boolean |
returnsResultSet
(Optional) Whether the query should return a result set. |
Element Detail |
---|
public abstract String name
public abstract String procedureName
public abstract javax.persistence.QueryHint[] hints
public abstract Class resultClass
public abstract String resultSetMapping
public abstract boolean returnsResultSet
public abstract StoredProcedureParameter[] parameters
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |