|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--oracle.toplink.internal.databaseaccess.DatabaseCall | +--oracle.toplink.queryframework.StoredProcedureCall
Purpose: Used to define a platform independent procedure call. This supports output parameters. Procedures can also be called through custom SQL if they do not require output parameters.
Fields inherited from class oracle.toplink.internal.databaseaccess.DatabaseCall |
LITERAL, MODIFY, TRANSLATION |
Fields inherited from interface oracle.toplink.internal.helper.FalseUndefinedTrue |
False, True, Undefined |
Constructor Summary |
StoredProcedureCall()
|
Method Summary |
Type | Method |
---|---|
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 |
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 |
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 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 |
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 |
addUnamedArgument(java.lang.String argumentFieldName)
PUBLIC: Define the field/argument name to be substitute 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 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 |
addUnamedInOutputArgumentValue(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 |
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. |
java.lang.String |
getProcedureName()
PUBLIC: Return the name of the store procedure on the database. |
boolean |
isCursorOutputProcedure()
Used for Oracle result sets through procedures. |
boolean |
isNonCursorOutputProcedure()
Return true for procedures with any output (or in/out) parameters and no cursors |
boolean |
isStoredProcedureCall()
|
void |
setIsCursorOutputProcedure(boolean isCursorOutputProcedure)
Used for Oracle result sets through procedures. |
void |
setProcedureName(java.lang.String procedureName)
PUBLIC: (REQUIRED) Set the name of the store procedure on the database. |
java.lang.String |
toString()
|
void |
useNamedCursorOutputAsResultSet(java.lang.String argumentName)
PUBLIC: Used for Oracle result sets through procedures. |
void |
useUnnamedCursorOutputAsResultSet()
PUBLIC: Used for Oracle result sets through procedures. |
Methods inherited from class oracle.toplink.internal.databaseaccess.DatabaseCall |
appendParameter, areManyRowsReturned, bindParameter, buildNewQueryMechanism, buildQueryMechanism, clone, getFields, getJDBCType, getMaxRows, getParameterJDBCTypes, getParameters, getParameterTypes, getQuery, getQueryTimeout, getResult, getResultSetConcurrency,
getResultSetFetchSize, getResultSetType, getReturnType, getStatement, hasOptimisticLock, hasParameters, isCursorReturned, isEJBQLCall, isFieldMatchingRequired, isFinished, isNothingReturned, isOneRowReturned, isResultSetScrollable, isSQLCall, matchFieldOrder,
returnCursor, returnManyRows, returnNothing, returnOneRow, setFields, setHasOptimisticLock, setIsFieldMatchingRequired, setIsResultSetScrollable, setMaxRows, setParameterJDBCTypes, setParameters, setParameterTypes, setQuery, setQueryTimeout, setResult, setResultSetConcurrency,
setResultSetFetchSize, setResultSetType, setReturnType, setShouldCacheStatement, setStatement, setUsesBinding, shouldCacheStatement, shouldCacheStatement, usesBinding, usesBinding |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public StoredProcedureCall()
Method Detail |
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 addNamedInOutputArgument(java.lang.String procedureParameterAndArgumentFieldName)
public void addNamedInOutputArgument(java.lang.String procedureParameterName, java.lang.String inArgumentFieldName, java.lang.String outArgumentFieldName, java.lang.Class type)
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 addUnamedArgument(java.lang.String argumentFieldName)
public void addUnamedArgumentValue(java.lang.Object argumentValue)
public void addUnamedInOutputArgument(java.lang.String inArgumentFieldName, java.lang.String outArgumentFieldName, java.lang.Class type)
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 java.lang.String getProcedureName()
public boolean isCursorOutputProcedure()
isCursorOutputProcedure
in class oracle.toplink.internal.databaseaccess.DatabaseCall
public boolean isNonCursorOutputProcedure()
public boolean isStoredProcedureCall()
isStoredProcedureCall
in class oracle.toplink.internal.databaseaccess.DatabaseCall
public void setIsCursorOutputProcedure(boolean isCursorOutputProcedure)
public void setProcedureName(java.lang.String procedureName)
public java.lang.String toString()
toString
in class java.lang.Object
public void useNamedCursorOutputAsResultSet(java.lang.String argumentName)
public void useUnnamedCursorOutputAsResultSet()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |