|
EclipseLink 2.2.0, build 'v20110202-r8913' API Reference | ||||||||
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 | |
---|---|
java.lang.String |
name
(Required) Unique name that references this stored procedure query. |
java.lang.String |
procedureName
(Required) The name of the stored procedure. |
Optional Element Summary | |
---|---|
QueryHint[] |
hints
(Optional) Query hints. |
StoredProcedureParameter[] |
parameters
(Optional) Defines arguments to the stored procedure. |
java.lang.Class |
resultClass
(Optional) Refers to the class of the result. |
java.lang.String |
resultSetMapping
(Optional) The name of the SQLResultMapping. |
boolean |
returnsResultSet
(Optional) Whether the query should return a result set. |
Element Detail |
---|
public abstract java.lang.String name
public abstract java.lang.String procedureName
public abstract QueryHint[] hints
public abstract java.lang.Class resultClass
public abstract java.lang.String resultSetMapping
public abstract boolean returnsResultSet
public abstract StoredProcedureParameter[] parameters
|
EclipseLink 2.2.0, build 'v20110202-r8913' API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |