@Target(value=TYPE)
@Retention(value=RUNTIME)
public @interface NamedStoredProcedureQuery
StoredProcedureParameter
Modifier and Type | Required Element and Description |
---|---|
java.lang.String |
name
(Required) Unique name that references this stored procedure query.
|
java.lang.String |
procedureName
(Required) The name of the stored procedure.
|
Modifier and Type | Optional Element and Description |
---|---|
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.
|
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