public class StoredFunctionCall extends StoredProcedureCall
cursorOrdinalPositions, optionalArguments, procedureArgumentNames, procedureName
executeReturnValue, fields, fieldsArray, firstResult, FIRSTRESULT_FIELD, hasAllocatedConnection, hasMultipleResultSets, hasOptimisticLock, ignoreFirstRowSetting, ignoreMaxResultsSetting, isBatchExecutionSupported, isCallableStatementRequired, isCursorOutputProcedure, isFieldMatchingRequired, isMultipleCursorOutputProcedure, isResultSetScrollable, MAXROW_FIELD, maxRows, outputCursors, queryTimeout, 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 |
---|
StoredFunctionCall() |
StoredFunctionCall(int sqlType,
java.lang.String sqlTypeName,
java.lang.Class javaType) |
StoredFunctionCall(int sqlType,
java.lang.String sqlTypeName,
java.lang.Class javaType,
org.eclipse.persistence.internal.helper.DatabaseField nestedType) |
StoredFunctionCall(int sqlType,
java.lang.String sqlTypeName,
java.lang.String javaTypeClassName) |
StoredFunctionCall(int sqlType,
java.lang.String sqlTypeName,
java.lang.String javaTypeClassName,
org.eclipse.persistence.internal.helper.DatabaseField nestedType) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCallHeader(org.eclipse.persistence.internal.databaseaccess.DatabasePlatform platform)
INTERNAL:
Return call header for the call string.
|
int |
getFirstParameterIndexForCallString()
INTERNAL:
Return the first index of parameter to be placed inside brackets
in the call string.
|
boolean |
isStoredFunctionCall()
INTERNAL:
|
void |
prepareInternal(org.eclipse.persistence.internal.sessions.AbstractSession session)
INTERNAL:
|
void |
setResult(int type,
java.lang.String typeName,
java.lang.Class javaType)
PUBLIC:
Define the ObjectRelationalDatabaseField to be substituted for the function return.
|
void |
setResult(int type,
java.lang.String typeName,
java.lang.Class javaType,
org.eclipse.persistence.internal.helper.DatabaseField nestedType)
PUBLIC:
Define the ObjectRelationalDatabaseField to be substituted for the function return.
|
void |
setResult(java.lang.String name)
PUBLIC:
Define the field name to be substitute for the function return.
|
void |
setResult(java.lang.String name,
java.lang.Class type)
PUBLIC:
Define the field name to be substitute for the function return.
|
void |
setResult(java.lang.String name,
int type)
PUBLIC:
Define the field name to be substitute for the function return.
|
void |
setResult(java.lang.String name,
int type,
java.lang.String typeName)
PUBLIC:
Define the field name to be substitute for the function return.
|
void |
setResultCursor()
PUBLIC:
Define to return cursor as result.
|
addNamedArgument, addNamedArgument, addNamedArgument, addNamedArgument, addNamedArgument, addNamedArgument, addNamedArgument, addNamedArgument, addNamedArgument, addNamedArgumentValue, addNamedCursorOutputArgument, addNamedInOutputArgument, addNamedInOutputArgument, addNamedInOutputArgument, addNamedInOutputArgument, addNamedInOutputArgument, addNamedInOutputArgument, addNamedInOutputArgument, addNamedInOutputArgument, addNamedInOutputArgumentValue, addNamedOutputArgument, addNamedOutputArgument, addNamedOutputArgument, addNamedOutputArgument, addNamedOutputArgument, addNamedOutputArgument, addNamedOutputArgument, addOptionalArgument, addUnamedArgument, addUnamedArgument, addUnamedArgument, addUnamedArgument, addUnamedArgument, addUnamedArgumentValue, addUnamedInOutputArgument, addUnamedInOutputArgument, addUnamedInOutputArgument, addUnamedInOutputArgument, addUnamedInOutputArgument, addUnamedInOutputArgument, addUnamedInOutputArgument, addUnamedInOutputArgumentValue, addUnamedOutputArgument, addUnamedOutputArgument, addUnamedOutputArgument, addUnamedOutputArgument, addUnamedOutputArgument, addUnamedOutputArgument, addUnnamedCursorOutputArgument, getCursorOrdinalPosition, getCursorOrdinalPositions, getOptionalArguments, getProcedureArgumentNames, getProcedureName, hasOptionalArguments, isStoredProcedureCall, setCursorOrdinalPosition, setHasMultipleResultSets, setOptionalArguments, setProcedureArgumentNames, setProcedureName, setReturnsResultSet, toString, useCursorOutputResultSet, useNamedCursorOutputAsResultSet, useUnnamedCursorOutputAsResultSet, useUnnamedCursorOutputAsResultSet
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, 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, isStoredPLSQLFunctionCall, isStoredPLSQLProcedureCall, returnCursor, returnManyRows, returnNothing, returnOneRow, setExecuteUpdate, setIsNativeConnectionRequired, setIsPrepared, setParameters, setParameterTypes, setQuery, setReturnType, translateCustomQuery, translatePureSQLCustomQuery, translateQueryString, whitespace
public StoredFunctionCall()
public StoredFunctionCall(int sqlType, java.lang.String sqlTypeName, java.lang.Class javaType)
public StoredFunctionCall(int sqlType, java.lang.String sqlTypeName, java.lang.Class javaType, org.eclipse.persistence.internal.helper.DatabaseField nestedType)
public StoredFunctionCall(int sqlType, java.lang.String sqlTypeName, java.lang.String javaTypeClassName)
public StoredFunctionCall(int sqlType, java.lang.String sqlTypeName, java.lang.String javaTypeClassName, org.eclipse.persistence.internal.helper.DatabaseField nestedType)
public java.lang.String getCallHeader(org.eclipse.persistence.internal.databaseaccess.DatabasePlatform platform)
getCallHeader
in class StoredProcedureCall
public int getFirstParameterIndexForCallString()
getFirstParameterIndexForCallString
in class StoredProcedureCall
public boolean isStoredFunctionCall()
isStoredFunctionCall
in class org.eclipse.persistence.internal.databaseaccess.DatasourceCall
public void prepareInternal(org.eclipse.persistence.internal.sessions.AbstractSession session)
prepareInternal
in class StoredProcedureCall
public void setResult(java.lang.String name)
public void setResult(java.lang.String name, java.lang.Class type)
public void setResult(java.lang.String name, int type, java.lang.String typeName)
public void setResult(int type, java.lang.String typeName, java.lang.Class javaType)
public void setResult(int type, java.lang.String typeName, java.lang.Class javaType, org.eclipse.persistence.internal.helper.DatabaseField nestedType)
public void setResult(java.lang.String name, int type)
public void setResultCursor()