|
EclipseLink 2.5.0, build 'v20130425-368d603' API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.persistence.internal.databaseaccess.DatasourceCall
org.eclipse.persistence.internal.databaseaccess.DatabaseCall
org.eclipse.persistence.queries.StoredProcedureCall
org.eclipse.persistence.queries.StoredFunctionCall
public class StoredFunctionCall
Purpose: Used to define a platform independent function call. Note that not all platforms support stored functions. This supports output parameters. Functions can also be called through custom SQL.
Field Summary |
---|
Fields inherited from class org.eclipse.persistence.queries.StoredProcedureCall |
---|
cursorOrdinalPositions, optionalArguments, procedureArgumentNames, procedureName |
Fields inherited from class org.eclipse.persistence.internal.databaseaccess.DatabaseCall |
---|
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 |
Fields inherited from class org.eclipse.persistence.internal.databaseaccess.DatasourceCall |
---|
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 Summary | |
---|---|
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)
|
Method Summary | |
---|---|
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. |
Methods inherited from class org.eclipse.persistence.internal.databaseaccess.DatabaseCall |
---|
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 |
Methods inherited from class org.eclipse.persistence.internal.databaseaccess.DatasourceCall |
---|
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 |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
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)
Method Detail |
---|
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)
|
EclipseLink 2.5.0, build 'v20130425-368d603' API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |