public class StoredProcedureCall
extends org.eclipse.persistence.internal.databaseaccess.DatabaseCall
Modifier and Type | Field and Description |
---|---|
protected java.util.Map<java.lang.String,java.lang.Integer> |
cursorOrdinalPositions |
protected java.util.List<org.eclipse.persistence.internal.helper.DatabaseField> |
optionalArguments |
protected java.util.List<java.lang.String> |
procedureArgumentNames |
protected java.lang.String |
procedureName |
executeReturnValue, fields, fieldsArray, firstResult, FIRSTRESULT_FIELD, hasAllocatedConnection, hasMultipleResultSets, hasOptimisticLock, ignoreFirstRowSetting, ignoreMaxResultsSetting, isBatchExecutionSupported, isCallableStatementRequired, isCursorOutputProcedure, isFieldMatchingRequired, isMultipleCursorOutputProcedure, isResultSetScrollable, MAXROW_FIELD, maxRows, outputCursors, queryTimeout, queryTimeoutUnit, result, resultSetConcurrency, resultSetFetchSize, resultSetType, returnMultipleResultSetCollections, returnsResultSet, shouldBuildOutputRow, shouldCacheStatement, sqlString, statement, usesBinding
CUSTOM_MODIFY, EXECUTE_UPDATE, IN, INLINE, INOUT, isNativeConnectionRequired, isPrepared, LITERAL, MODIFY, NO_RETURN, OUT, OUT_CURSOR, parameters, parameterTypes, query, RETURN_CURSOR, RETURN_MANY_ROWS, RETURN_ONE_ROW, returnType, shouldProcessTokenInQuotes, TRANSLATION
Constructor and Description |
---|
StoredProcedureCall() |
Modifier and Type | Method and Description |
---|---|
void |
addNamedArgument(java.lang.String procedureParameterAndArgumentFieldName)
PUBLIC:
Define the argument to the stored procedure and the field/argument name to be substitute for it.
|
void |
addNamedArgument(java.lang.String procedureParameterName,
java.lang.String argumentFieldName)
PUBLIC:
Define the argument to the stored procedure and the field/argument name to be substitute for it.
|
void |
addNamedArgument(java.lang.String procedureParameterName,
java.lang.String argumentFieldName,
java.lang.Class type)
PUBLIC:
Define the input argument to the stored procedure and the field/argument name to be substitute for it.
|
void |
addNamedArgument(java.lang.String procedureParameterName,
java.lang.String argumentFieldName,
int type)
PUBLIC:
Define the input argument to the stored procedure and the field/argument name to be substitute for it.
|
void |
addNamedArgument(java.lang.String procedureParameterName,
java.lang.String argumentFieldName,
int type,
java.lang.String typeName)
PUBLIC:
Define the output argument to the stored procedure and the field/argument name to be substitute for it.
|
void |
addNamedArgument(java.lang.String procedureParameterName,
java.lang.String argumentFieldName,
int type,
java.lang.String typeName,
java.lang.Class javaType)
PUBLIC:
Define the output argument to the stored procedure and the field/argument name to be substitute for it.
|
void |
addNamedArgument(java.lang.String procedureParameterName,
java.lang.String argumentFieldName,
int type,
java.lang.String typeName,
java.lang.Class javaType,
org.eclipse.persistence.internal.helper.DatabaseField nestedType)
PUBLIC:
Define the inout argument to the stored procedure and the field/argument name to be substituted for it.
|
void |
addNamedArgument(java.lang.String procedureParameterName,
java.lang.String argumentFieldName,
int type,
java.lang.String typeName,
org.eclipse.persistence.internal.helper.DatabaseField nestedType)
PUBLIC:
Define the output argument to the stored procedure and the field/argument name to be substitute for it.
|
void |
addNamedArgument(java.lang.String procedureParameterName,
java.lang.String argumentFieldName,
int type,
java.lang.String typeName,
java.lang.String javaTypeName)
PUBLIC:
Define the output argument to the stored procedure and the field/argument name to be substitute for it.
|
void |
addNamedArgumentValue(java.lang.String procedureParameterName,
java.lang.Object argumentValue)
PUBLIC:
Define the argument to the stored procedure and the value to be substitute for it.
|
void |
addNamedCursorOutputArgument(java.lang.String argumentName)
ADVANCED:
Add the cursor output parameter to the procedure.
|
void |
addNamedInOutputArgument(java.lang.String procedureParameterAndArgumentFieldName)
PUBLIC:
Define the inoutput argument to the stored procedure and the field/argument name to be substitute for it on the way in and out.
|
void |
addNamedInOutputArgument(java.lang.String procedureParameterName,
java.lang.String argumentFieldName)
PUBLIC:
Define the inoutput argument to the stored procedure and the field/argument name to be substitute for it on the way in and out.
|
void |
addNamedInOutputArgument(java.lang.String procedureParameterName,
java.lang.String argumentFieldName,
java.lang.Class type)
PUBLIC:
Define the inoutput argument to the stored procedure and the field/argument name to be substitute for it on the way in and out.
|
void |
addNamedInOutputArgument(java.lang.String procedureParameterName,
java.lang.String inArgumentFieldName,
java.lang.String outArgumentFieldName,
java.lang.Class type)
PUBLIC:
Define the inoutput argument to the stored procedure and the field/argument name to be substitute for it on the way in and out.
|
void |
addNamedInOutputArgument(java.lang.String procedureParameterName,
java.lang.String inArgumentFieldName,
java.lang.String outArgumentFieldName,
int type)
PUBLIC:
Define the inoutput argument to the stored procedure and the field/argument name to be substitute for it on the way in and out.
|
void |
addNamedInOutputArgument(java.lang.String procedureParameterName,
java.lang.String inArgumentFieldName,
java.lang.String outArgumentFieldName,
int type,
java.lang.String typeName)
PUBLIC:
Define the inoutput argument to the stored procedure and the field/argument name to be substitute for it on the way in and out.
|
void |
addNamedInOutputArgument(java.lang.String procedureParameterName,
java.lang.String inArgumentFieldName,
java.lang.String outArgumentFieldName,
int type,
java.lang.String typeName,
java.lang.Class classType)
PUBLIC:
Define the inoutput argument to the stored procedure and the field/argument name to be substitute for it on the way in and out.
|
void |
addNamedInOutputArgument(java.lang.String procedureParameterName,
java.lang.String inArgumentFieldName,
java.lang.String outArgumentFieldName,
int type,
java.lang.String typeName,
java.lang.Class javaType,
org.eclipse.persistence.internal.helper.DatabaseField nestedType)
PUBLIC:
Define the inoutput argument to the stored procedure and the field/argument name to be substitute for it on the way in and out.
|
void |
addNamedInOutputArgumentValue(java.lang.String procedureParameterName,
java.lang.Object inArgumentValue,
java.lang.String outArgumentFieldName,
java.lang.Class type)
PUBLIC:
Define the inoutput argument to the stored procedure and the field/argument name to be substitute for it on the way in and out.
|
void |
addNamedOutputArgument(java.lang.String procedureParameterAndArgumentFieldName)
PUBLIC:
Define the output argument to the stored procedure and the field/argument name to be substitute for it.
|
void |
addNamedOutputArgument(java.lang.String procedureParameterName,
java.lang.String argumentFieldName)
PUBLIC:
Define the output argument to the stored procedure and the field/argument name to be substitute for it.
|
void |
addNamedOutputArgument(java.lang.String procedureParameterName,
java.lang.String argumentFieldName,
java.lang.Class type)
PUBLIC:
Define the output argument to the stored procedure and the field/argument name to be substitute for it.
|
void |
addNamedOutputArgument(java.lang.String procedureParameterName,
java.lang.String argumentFieldName,
int type)
PUBLIC:
Define the output argument to the stored procedure and the field/argument name to be substitute for it.
|
void |
addNamedOutputArgument(java.lang.String procedureParameterName,
java.lang.String argumentFieldName,
int type,
java.lang.String typeName)
PUBLIC:
Define the output argument to the stored procedure and the field/argument name to be substitute for it.
|
void |
addNamedOutputArgument(java.lang.String procedureParameterName,
java.lang.String argumentFieldName,
int jdbcType,
java.lang.String typeName,
java.lang.Class javaType)
PUBLIC:
Define the output argument to the stored procedure and the field/argument name to be substitute for it.
|
void |
addNamedOutputArgument(java.lang.String procedureParameterName,
java.lang.String argumentFieldName,
int jdbcType,
java.lang.String typeName,
java.lang.Class javaType,
org.eclipse.persistence.internal.helper.DatabaseField nestedType)
PUBLIC:
Define the output argument to the stored procedure and the field/argument name to be substitute for it.
|
void |
addOptionalArgument(java.lang.String argument)
PUBLIC:
Add the optional argument.
|
void |
addUnamedArgument(java.lang.String argumentFieldName)
PUBLIC:
Define the field/argument name to be substitute for the index argument.
|
void |
addUnamedArgument(java.lang.String argumentFieldName,
java.lang.Class type)
PUBLIC:
Define the argument to the stored procedure for the index argument.
|
void |
addUnamedArgument(java.lang.String argumentFieldName,
int type)
PUBLIC:
Define the argument to the stored procedure for the index argument.
|
void |
addUnamedArgument(java.lang.String argumentFieldName,
int type,
java.lang.String typeName)
PUBLIC:
Define the argument to the stored procedure for the index argument.
|
void |
addUnamedArgument(java.lang.String argumentFieldName,
int type,
java.lang.String typeName,
org.eclipse.persistence.internal.helper.DatabaseField nestedType)
PUBLIC:
Define the argument to the stored procedure for the index argument.
|
void |
addUnamedArgumentValue(java.lang.Object argumentValue)
PUBLIC:
Define the argument to the stored procedure for the index argument.
|
void |
addUnamedInOutputArgument(java.lang.String argumentFieldName)
PUBLIC:
Define the inoutput argument to the stored procedure for the index argument and the field/argument name to be substitute for it on the way in and out.
|
void |
addUnamedInOutputArgument(java.lang.String argumentFieldName,
java.lang.Class type)
PUBLIC:
Define the inoutput argument to the stored procedure for the index argument and the field/argument name to be substitute for it on the way in and out.
|
void |
addUnamedInOutputArgument(java.lang.String inArgumentFieldName,
java.lang.String outArgumentFieldName,
java.lang.Class type)
PUBLIC:
Define the argument to the stored procedure for the index argument.
|
void |
addUnamedInOutputArgument(java.lang.String inArgumentFieldName,
java.lang.String outArgumentFieldName,
int type)
PUBLIC:
Define the argument to the stored procedure for the index argument.
|
void |
addUnamedInOutputArgument(java.lang.String inArgumentFieldName,
java.lang.String outArgumentFieldName,
int type,
java.lang.String typeName)
PUBLIC:
Define the inoutput argument to the stored procedure for the index argument and the field/argument name to be substitute for it on the way in and out.
|
void |
addUnamedInOutputArgument(java.lang.String inArgumentFieldName,
java.lang.String outArgumentFieldName,
int type,
java.lang.String typeName,
java.lang.Class collection)
PUBLIC:
Define the inoutput argument to the stored procedure for the index argument and the field/argument name to be substitute for it on the way in and out.
|
void |
addUnamedInOutputArgument(java.lang.String inArgumentFieldName,
java.lang.String outArgumentFieldName,
int type,
java.lang.String typeName,
java.lang.Class collection,
org.eclipse.persistence.internal.helper.DatabaseField nestedType)
PUBLIC:
Define the inoutput argument to the stored procedure for the index argument and the field/argument name to be substitute for it on the way in and out.
|
void |
addUnamedInOutputArgumentValue(java.lang.Object inArgumentValue,
java.lang.String outArgumentFieldName,
java.lang.Class type)
PUBLIC:
Define the inoutput argument to the stored procedure for the index argument and the field/argument name to be substitute for it on the way in and out.
|
void |
addUnamedOutputArgument(java.lang.String argumentFieldName)
PUBLIC:
Define the field/argument name to be substitute for the index output argument.
|
void |
addUnamedOutputArgument(java.lang.String argumentFieldName,
java.lang.Class type)
PUBLIC:
Define the field/argument name to be substitute for the index output argument.
|
void |
addUnamedOutputArgument(java.lang.String argumentFieldName,
int type)
PUBLIC:
Define the field/argument name to be substitute for the index output argument.
|
void |
addUnamedOutputArgument(java.lang.String argumentFieldName,
int type,
java.lang.String typeName)
PUBLIC:
Define the field/argument name to be substitute for the index output argument.
|
void |
addUnamedOutputArgument(java.lang.String argumentFieldName,
int jdbcType,
java.lang.String typeName,
java.lang.Class javaType)
PUBLIC:
Define the field/argument name to be substitute for the index output argument.
|
void |
addUnamedOutputArgument(java.lang.String argumentFieldName,
int jdbcType,
java.lang.String typeName,
java.lang.Class javaType,
org.eclipse.persistence.internal.helper.DatabaseField nestedType)
PUBLIC:
Define the field/argument name to be substitute for the index output argument.
|
void |
addUnnamedCursorOutputArgument(java.lang.String outputRowFieldName)
ADVANCED:
Add the cursor output parameter to the procedure.
|
java.lang.String |
getCallHeader(org.eclipse.persistence.internal.databaseaccess.DatabasePlatform platform)
INTERNAL:
Return call header for the call string.
|
java.lang.Integer |
getCursorOrdinalPosition(java.lang.String cursorName)
INTERNAL:
Used by JPA named stored procedure queries to associate parameter name
with position.
|
java.util.Map<java.lang.String,java.lang.Integer> |
getCursorOrdinalPositions()
INTERNAL:
Used by JPA named stored procedure queries to associate parameter name
with position.
|
int |
getFirstParameterIndexForCallString()
INTERNAL:
Return the first index of parameter to be placed inside brackets
in the call string
|
java.util.List<org.eclipse.persistence.internal.helper.DatabaseField> |
getOptionalArguments()
INTERNAL:
Return the list of optional arguments.
|
java.util.List<java.lang.String> |
getProcedureArgumentNames()
INTERNAL:
The if the names are provide the order is not required to match the call def.
|
java.lang.String |
getProcedureName()
PUBLIC:
Return the name of the store procedure on the database.
|
boolean |
hasOptionalArguments()
INTERNAL:
Return if there are any optional arguments.
|
boolean |
isStoredProcedureCall() |
protected void |
prepareInternal(org.eclipse.persistence.internal.sessions.AbstractSession session)
INTERNAL:
Called by prepare method only.
|
void |
setCursorOrdinalPosition(java.lang.String cursorName,
int index)
INTERNAL:
Used by JPA named stored procedure queries to associate parameter name
with position.
|
void |
setHasMultipleResultSets(boolean hasMultipleResultSets)
PUBLIC:
Set if the call returns multiple result sets.
|
void |
setOptionalArguments(java.util.List<org.eclipse.persistence.internal.helper.DatabaseField> optionalArguments)
INTERNAL:
Set the list of optional arguments.
|
void |
setProcedureArgumentNames(java.util.List<java.lang.String> procedureArgumentNames)
INTERNAL:
The if the names are provide the order is not required to match the call def.
|
void |
setProcedureName(java.lang.String procedureName)
PUBLIC: (REQUIRED)
Set the name of the store procedure on the database.
|
void |
setReturnsResultSet(boolean returnsResultSet)
PUBLIC:
Some database support stored procedures returning result sets.
|
java.lang.String |
toString() |
protected void |
useCursorOutputResultSet(java.lang.String argumentName,
java.lang.String outputFieldName)
INTERNAL:
Add the unnamed output cursor to return the result.
|
void |
useNamedCursorOutputAsResultSet(java.lang.String argumentName)
PUBLIC:
Used for Oracle result sets through procedures.
|
void |
useUnnamedCursorOutputAsResultSet()
PUBLIC:
Used for Oracle result sets through procedures.
|
void |
useUnnamedCursorOutputAsResultSet(int position)
PUBLIC:
Used for Oracle result sets through procedures.
|
addContext, appendIn, appendInOut, appendInOut, appendLogParameters, appendOut, appendOutCursor, appendParameter, bindParameter, buildNewQueryMechanism, buildOutputRow, buildQueryMechanism, createInOutParameter, getCallString, getContexts, getCursorOutIndex, getExecuteReturnValue, getFields, getFieldsArray, getFieldWithTypeFromDescriptor, getFirstResult, getLogString, getMaxRows, getOutputCursors, getOutputRowFields, getQueryString, getQueryTimeout, getResult, getResultSetConcurrency, getResultSetFetchSize, getResultSetType, getReturnsResultSet, getSQLString, getStatement, hasAllocatedConnection, hasMultipleResultSets, hasOptimisticLock, hasOutputCursors, isBatchExecutionSupported, isCallableStatementRequired, isCursorOutputProcedure, isCursorReturned, isDynamicCall, isFieldMatchingRequired, isFinished, isLOBLocatorNeeded, isMultipleCursorOutputProcedure, isNonCursorOutputProcedure, isResultSetScrollable, isUsesBindingSet, matchFieldOrder, prepare, prepareInternalParameters, prepareStatement, returnMultipleResultSetCollections, setBatchExecutionSupported, setContexts, setExecuteReturnValue, setFields, setFirstResult, setHasAllocatedConnection, setHasOptimisticLock, setIgnoreFirstRowSetting, setIgnoreMaxResultsSetting, setIsCallableStatementRequired, setIsCursorOutputProcedure, setIsFieldMatchingRequired, setIsMultipleCursorOutputProcedure, setIsResultSetScrollable, setMaxRows, setQueryString, setQueryTimeout, setQueryTimeoutUnit, setResult, setResultSetConcurrency, setResultSetFetchSize, setResultSetType, setReturnMultipleResultSetCollections, setShouldBuildOutputRow, setShouldCacheStatement, setSQLStringInternal, setStatement, setUsesBinding, shouldBuildOutputRow, shouldCacheStatement, shouldCacheStatement, shouldIgnoreFirstRowSetting, shouldIgnoreMaxResultsSetting, translate, translateQueryStringForParameterizedIN, usesBinding, usesBinding
appendIn, appendInOut, appendLiteral, appendModify, appendOut, appendTranslation, areManyRowsReturned, argumentMarker, clone, createField, getParameters, getParameterTypes, getQuery, getReturnType, getValueForInOutParameter, getValueForInParameter, hasParameters, isEISInteraction, isExecuteUpdate, isJPQLCall, isNativeConnectionRequired, isNothingReturned, isOneRowReturned, isOutputParameterType, isPrepared, isQueryStringCall, isReturnSet, isSQLCall, isStoredFunctionCall, isStoredPLSQLFunctionCall, isStoredPLSQLProcedureCall, returnCursor, returnManyRows, returnNothing, returnOneRow, setExecuteUpdate, setIsNativeConnectionRequired, setIsPrepared, setParameters, setParameterTypes, setQuery, setReturnType, translateCustomQuery, translatePureSQLCustomQuery, translateQueryString, whitespace
protected java.lang.String procedureName
protected java.util.List<java.lang.String> procedureArgumentNames
protected java.util.List<org.eclipse.persistence.internal.helper.DatabaseField> optionalArguments
protected java.util.Map<java.lang.String,java.lang.Integer> cursorOrdinalPositions
public void addNamedArgument(java.lang.String procedureParameterAndArgumentFieldName)
public void addNamedArgument(java.lang.String procedureParameterName, java.lang.String argumentFieldName)
public void addNamedArgumentValue(java.lang.String procedureParameterName, java.lang.Object argumentValue)
public void addNamedArgument(java.lang.String procedureParameterName, java.lang.String argumentFieldName, java.lang.Class type)
public void addNamedArgument(java.lang.String procedureParameterName, java.lang.String argumentFieldName, int type)
public void addNamedArgument(java.lang.String procedureParameterName, java.lang.String argumentFieldName, int type, java.lang.String typeName)
public void addNamedArgument(java.lang.String procedureParameterName, java.lang.String argumentFieldName, int type, java.lang.String typeName, java.lang.Class javaType)
public void addNamedArgument(java.lang.String procedureParameterName, java.lang.String argumentFieldName, int type, java.lang.String typeName, java.lang.Class javaType, org.eclipse.persistence.internal.helper.DatabaseField nestedType)
public void addNamedArgument(java.lang.String procedureParameterName, java.lang.String argumentFieldName, int type, java.lang.String typeName, java.lang.String javaTypeName)
public void addNamedArgument(java.lang.String procedureParameterName, java.lang.String argumentFieldName, int type, java.lang.String typeName, org.eclipse.persistence.internal.helper.DatabaseField nestedType)
public void addNamedInOutputArgument(java.lang.String procedureParameterAndArgumentFieldName)
public void addNamedInOutputArgument(java.lang.String procedureParameterName, java.lang.String argumentFieldName)
public void addNamedInOutputArgument(java.lang.String procedureParameterName, java.lang.String argumentFieldName, java.lang.Class type)
public void addNamedInOutputArgument(java.lang.String procedureParameterName, java.lang.String inArgumentFieldName, java.lang.String outArgumentFieldName, java.lang.Class type)
public void addNamedInOutputArgument(java.lang.String procedureParameterName, java.lang.String inArgumentFieldName, java.lang.String outArgumentFieldName, int type)
public void addNamedInOutputArgument(java.lang.String procedureParameterName, java.lang.String inArgumentFieldName, java.lang.String outArgumentFieldName, int type, java.lang.String typeName)
public void addNamedInOutputArgument(java.lang.String procedureParameterName, java.lang.String inArgumentFieldName, java.lang.String outArgumentFieldName, int type, java.lang.String typeName, java.lang.Class classType)
public void addNamedInOutputArgument(java.lang.String procedureParameterName, java.lang.String inArgumentFieldName, java.lang.String outArgumentFieldName, int type, java.lang.String typeName, java.lang.Class javaType, org.eclipse.persistence.internal.helper.DatabaseField nestedType)
public void addNamedInOutputArgumentValue(java.lang.String procedureParameterName, java.lang.Object inArgumentValue, java.lang.String outArgumentFieldName, java.lang.Class type)
public void addNamedOutputArgument(java.lang.String procedureParameterAndArgumentFieldName)
public void addNamedOutputArgument(java.lang.String procedureParameterName, java.lang.String argumentFieldName)
public void addNamedOutputArgument(java.lang.String procedureParameterName, java.lang.String argumentFieldName, java.lang.Class type)
public void addNamedOutputArgument(java.lang.String procedureParameterName, java.lang.String argumentFieldName, int type)
public void addNamedOutputArgument(java.lang.String procedureParameterName, java.lang.String argumentFieldName, int type, java.lang.String typeName)
public void addNamedOutputArgument(java.lang.String procedureParameterName, java.lang.String argumentFieldName, int jdbcType, java.lang.String typeName, java.lang.Class javaType)
public void addNamedOutputArgument(java.lang.String procedureParameterName, java.lang.String argumentFieldName, int jdbcType, java.lang.String typeName, java.lang.Class javaType, org.eclipse.persistence.internal.helper.DatabaseField nestedType)
public void addUnamedArgument(java.lang.String argumentFieldName)
public void addUnamedArgumentValue(java.lang.Object argumentValue)
public void addUnamedArgument(java.lang.String argumentFieldName, java.lang.Class type)
public void addUnamedArgument(java.lang.String argumentFieldName, int type)
public void addUnamedArgument(java.lang.String argumentFieldName, int type, java.lang.String typeName)
public void addUnamedArgument(java.lang.String argumentFieldName, int type, java.lang.String typeName, org.eclipse.persistence.internal.helper.DatabaseField nestedType)
public void addUnamedInOutputArgument(java.lang.String inArgumentFieldName, java.lang.String outArgumentFieldName, java.lang.Class type)
public void addUnamedInOutputArgument(java.lang.String inArgumentFieldName, java.lang.String outArgumentFieldName, int type)
public void addUnamedInOutputArgument(java.lang.String inArgumentFieldName, java.lang.String outArgumentFieldName, int type, java.lang.String typeName)
public void addUnamedInOutputArgument(java.lang.String argumentFieldName, java.lang.Class type)
public void addUnamedInOutputArgument(java.lang.String argumentFieldName)
public void addUnamedInOutputArgument(java.lang.String inArgumentFieldName, java.lang.String outArgumentFieldName, int type, java.lang.String typeName, java.lang.Class collection)
public void addUnamedInOutputArgument(java.lang.String inArgumentFieldName, java.lang.String outArgumentFieldName, int type, java.lang.String typeName, java.lang.Class collection, org.eclipse.persistence.internal.helper.DatabaseField nestedType)
public void addUnamedInOutputArgumentValue(java.lang.Object inArgumentValue, java.lang.String outArgumentFieldName, java.lang.Class type)
public void addUnamedOutputArgument(java.lang.String argumentFieldName)
public void addUnamedOutputArgument(java.lang.String argumentFieldName, java.lang.Class type)
public void addUnamedOutputArgument(java.lang.String argumentFieldName, int type)
public void addUnamedOutputArgument(java.lang.String argumentFieldName, int type, java.lang.String typeName)
public void addUnamedOutputArgument(java.lang.String argumentFieldName, int jdbcType, java.lang.String typeName, java.lang.Class javaType)
public void addUnamedOutputArgument(java.lang.String argumentFieldName, int jdbcType, java.lang.String typeName, java.lang.Class javaType, org.eclipse.persistence.internal.helper.DatabaseField nestedType)
public java.lang.String getCallHeader(org.eclipse.persistence.internal.databaseaccess.DatabasePlatform platform)
public java.lang.Integer getCursorOrdinalPosition(java.lang.String cursorName)
public java.util.Map<java.lang.String,java.lang.Integer> getCursorOrdinalPositions()
public int getFirstParameterIndexForCallString()
public java.util.List<java.lang.String> getProcedureArgumentNames()
public java.lang.String getProcedureName()
public boolean isStoredProcedureCall()
isStoredProcedureCall
in class org.eclipse.persistence.internal.databaseaccess.DatasourceCall
protected void prepareInternal(org.eclipse.persistence.internal.sessions.AbstractSession session)
prepareInternal
in class org.eclipse.persistence.internal.databaseaccess.DatabaseCall
public void setCursorOrdinalPosition(java.lang.String cursorName, int index)
public void setProcedureArgumentNames(java.util.List<java.lang.String> procedureArgumentNames)
public void setProcedureName(java.lang.String procedureName)
public java.lang.String toString()
toString
in class org.eclipse.persistence.internal.databaseaccess.DatabaseCall
public void addNamedCursorOutputArgument(java.lang.String argumentName)
public void addUnnamedCursorOutputArgument(java.lang.String outputRowFieldName)
protected void useCursorOutputResultSet(java.lang.String argumentName, java.lang.String outputFieldName)
public void useNamedCursorOutputAsResultSet(java.lang.String argumentName)
public void useUnnamedCursorOutputAsResultSet()
useUnnamedCursorOutputAsResultSet
in class org.eclipse.persistence.internal.databaseaccess.DatabaseCall
public void useUnnamedCursorOutputAsResultSet(int position)
public void setHasMultipleResultSets(boolean hasMultipleResultSets)
setHasMultipleResultSets
in class org.eclipse.persistence.internal.databaseaccess.DatabaseCall
public void setReturnsResultSet(boolean returnsResultSet)
setReturnsResultSet
in class org.eclipse.persistence.internal.databaseaccess.DatabaseCall
public void addOptionalArgument(java.lang.String argument)
public boolean hasOptionalArguments()
public java.util.List<org.eclipse.persistence.internal.helper.DatabaseField> getOptionalArguments()
public void setOptionalArguments(java.util.List<org.eclipse.persistence.internal.helper.DatabaseField> optionalArguments)