|
Oracle Fusion Middleware Java API Reference for Oracle TopLink 11g Release 1 (11.1.1) E28847-01 |
||||||||
| 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. |
javax.persistence.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(Optional) Refers to the class of the result. |
java.lang.String |
resultSetMapping(Optional) The name of the SQLResultMapping. |
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 javax.persistence.QueryHint[] hints
public abstract java.lang.Class resultClass
public abstract java.lang.String resultSetMapping
public abstract boolean returnsResultSet
public abstract boolean multipleResultSets
public abstract boolean callByIndex
public abstract StoredProcedureParameter[] parameters
|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | ||||||||