Module org.eclipse.persistence.dbws
Class StoredProcedureQueryHandler
java.lang.Object
org.eclipse.persistence.internal.xr.QueryHandler
org.eclipse.persistence.internal.xr.StoredProcedureQueryHandler
- Direct Known Subclasses:
StoredFunctionQueryHandler
INTERNAL: StoredProcedureQueryHandler sets up the StoredProcedureCall
and its arguments in the given DatabaseQuery
- Since:
- EclipseLink 1.x
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringprotected List<ProcedureArgument> protected List<ProcedureOutputArgument> protected Stringprotected List<ProcedureOutputArgument> Fields inherited from class org.eclipse.persistence.internal.xr.QueryHandler
databaseQuery -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected StoredProcedureCallgetName()voidinitializeArguments(XRServiceAdapter xrService, QueryOperation queryOperation, DatabaseQuery databaseQuery) voidinitializeCall(XRServiceAdapter xrService, QueryOperation queryOperation, DatabaseQuery databaseQuery) voidinitializeDatabaseQuery(XRServiceAdapter xrService, QueryOperation queryOperation) INTERNAL: Initialize thisQueryHandler'sDatabaseQueryprotected booleanisCursorType(XRServiceAdapter xrService, QName type) booleanvoidprotected voidsetSingleResult(XRServiceAdapter xrService, StoredProcedureCall spCall, QName resultType) Methods inherited from class org.eclipse.persistence.internal.xr.QueryHandler
getDatabaseQuery, initialize, setDatabaseQuery, validate
-
Field Details
-
CURSOR_STR
- See Also:
-
name
-
inArguments
-
inOutArguments
-
outArguments
-
-
Constructor Details
-
StoredProcedureQueryHandler
public StoredProcedureQueryHandler()
-
-
Method Details
-
getName
-
setName
-
getInArguments
-
getInOutArguments
-
getOutArguments
-
isStoredFunctionQueryHandler
public boolean isStoredFunctionQueryHandler() -
initializeDatabaseQuery
Description copied from class:QueryHandlerINTERNAL: Initialize this
QueryHandler'sDatabaseQuery- Overrides:
initializeDatabaseQueryin classQueryHandler- Parameters:
xrService- the givenDBWSServicequeryOperation- the givenQueryOperation
-
initializeCall
public void initializeCall(XRServiceAdapter xrService, QueryOperation queryOperation, DatabaseQuery databaseQuery) Description copied from class:QueryHandlerINTERNAL: Initialize this
QueryHandler'sDatabaseQuery'sCall. Typically no work is required, but for someQueryHandlers(JPQLQueryHandler,StoredProcedureQueryHandler, etc.) special handling may be required.- Overrides:
initializeCallin classQueryHandler- Parameters:
xrService- the givenDBWSServicequeryOperation- the givenQueryOperationdatabaseQuery- the givenDatabaseQuery
-
initializeArguments
public void initializeArguments(XRServiceAdapter xrService, QueryOperation queryOperation, DatabaseQuery databaseQuery) Description copied from class:QueryHandlerINTERNAL: Initialize this
QueryHandler'sDatabaseQuery's arguments from theOperation'sParameters- Overrides:
initializeArgumentsin classQueryHandler- Parameters:
xrService- the givenDBWSServicequeryOperation- the givenQueryOperationdatabaseQuery- the givenDatabaseQuery
-
setSingleResult
protected void setSingleResult(XRServiceAdapter xrService, StoredProcedureCall spCall, QName resultType) -
createCall
-
isCursorType
-