|
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 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 | |
---|---|
boolean |
callByIndex
(Optional) Defines if the stored procedure should be called by index or by name. |
QueryHint[] |
hints
(Optional) Query hints. |
boolean |
multipleResultSets
(Optional) Defines if the stored procedure returns multiple result sets. |
StoredProcedureParameter[] |
parameters
(Optional) Defines the parameters to the stored procedure. |
java.lang.Class |
resultClass
Deprecated. |
java.lang.Class[] |
resultClasses
(Optional) Refers to the classes of the result. |
java.lang.String |
resultSetMapping
Deprecated. |
java.lang.String[] |
resultSetMappings
(Optional) The names of the SQLResultMappings. |
boolean |
returnsResultSet
(Optional) Defines if stored procedure returns 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
resultClasses
public abstract java.lang.Class[] resultClasses
public abstract java.lang.String resultSetMapping
resultSetMappings
public abstract java.lang.String[] resultSetMappings
public abstract boolean returnsResultSet
public abstract boolean multipleResultSets
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 |