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
Modifier and TypeFieldDescriptionstatic final String
protected List
<ProcedureArgument> protected List
<ProcedureOutputArgument> protected String
protected List
<ProcedureOutputArgument> Fields inherited from class org.eclipse.persistence.internal.xr.QueryHandler
databaseQuery
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected StoredProcedureCall
getName()
void
initializeArguments
(XRServiceAdapter xrService, QueryOperation queryOperation, DatabaseQuery databaseQuery) void
initializeCall
(XRServiceAdapter xrService, QueryOperation queryOperation, DatabaseQuery databaseQuery) void
initializeDatabaseQuery
(XRServiceAdapter xrService, QueryOperation queryOperation) INTERNAL: Initialize thisQueryHandler
'sDatabaseQuery
protected boolean
isCursorType
(XRServiceAdapter xrService, QName type) boolean
void
protected void
setSingleResult
(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:QueryHandler
INTERNAL: Initialize this
QueryHandler
'sDatabaseQuery
- Overrides:
initializeDatabaseQuery
in classQueryHandler
- Parameters:
xrService
- the givenDBWSService
queryOperation
- the givenQueryOperation
-
initializeCall
public void initializeCall(XRServiceAdapter xrService, QueryOperation queryOperation, DatabaseQuery databaseQuery) Description copied from class:QueryHandler
INTERNAL: Initialize this
QueryHandler
'sDatabaseQuery
'sCall
. Typically no work is required, but for someQueryHandlers
(JPQLQueryHandler
,StoredProcedureQueryHandler
, etc.) special handling may be required.- Overrides:
initializeCall
in classQueryHandler
- Parameters:
xrService
- the givenDBWSService
queryOperation
- the givenQueryOperation
databaseQuery
- the givenDatabaseQuery
-
initializeArguments
public void initializeArguments(XRServiceAdapter xrService, QueryOperation queryOperation, DatabaseQuery databaseQuery) Description copied from class:QueryHandler
INTERNAL: Initialize this
QueryHandler
'sDatabaseQuery
's arguments from theOperation
'sParameters
- Overrides:
initializeArguments
in classQueryHandler
- Parameters:
xrService
- the givenDBWSService
queryOperation
- the givenQueryOperation
databaseQuery
- the givenDatabaseQuery
-
setSingleResult
protected void setSingleResult(XRServiceAdapter xrService, StoredProcedureCall spCall, QName resultType) -
createCall
-
isCursorType
-