public class OracleStatement extends JdbcPreparedStatementResource
Modifier and Type | Method and Description |
---|---|
protected JdbcResultResource |
createResultSet(java.sql.ResultSet rs) |
protected boolean |
execute(Env env,
int mode) |
java.lang.Integer |
getBindingVariable(java.lang.String name)
Returns a binding variable index
|
java.util.HashMap<java.lang.String,java.lang.Integer> |
getBindingVariables()
Returns all binding variables
|
Value |
getByNameVariable(java.lang.String name)
Returns the variable value by name
|
java.util.HashMap<java.lang.String,Value> |
getByNameVariables()
Returns all variable names and corresponding values
|
protected java.sql.CallableStatement |
getCallableStatement()
Gets the underlying callable statement.
|
protected int |
getFetchedRows()
Gets the number of fetched rows.
|
protected OracleOciLob |
getOutParameter()
Gets the out parameter.
|
Value |
getResultBuffer()
Returns the internal result buffer
|
protected int |
increaseFetchedRows()
Increases the number of fetched rows.
|
void |
putBindingVariable(java.lang.String name,
java.lang.Integer value)
Assigns a variable name to the corresponding index
|
void |
putByNameVariable(java.lang.String name,
Value value)
Assigns a value to a variable
|
java.lang.Integer |
removeBindingVariable(java.lang.String name)
Removes a binding variable
|
Value |
removeByNameVariable(java.lang.String name)
Removes a variable given the corresponding name
|
void |
resetBindingVariables()
Removes all binding variables
|
void |
resetByNameVariables()
Removes all variables
|
protected void |
setOutParameter(OracleOciLob outParameter)
Sets the out parameter.
|
void |
setResultBuffer(Value resultBuffer)
Sets the internal result buffer
|
bindParams, executeImpl, getParam, getParamLength, getPreparedStatement, isPreparable, paramCount, prepare, prepareForExecute, setObject, setPreparedStatement
bindResults, close, dataSeek, execute, execute, fetch, freeResult, getColumnCount, getConnection, getErrorCode, getErrorMessage, getException, getFieldCount, getJavaConnection, getMetaData, getNumRows, getQuery, getResultSet, getStatementType, isFetchFieldIndexBeforeFieldName, lastInsertId, setError, setErrorCode, setErrorMessage, setQuery, setResultSet, setStatement, toString
protected boolean execute(Env env, int mode)
protected JdbcResultResource createResultSet(java.sql.ResultSet rs)
createResultSet
in class JdbcStatementResource
public void putBindingVariable(java.lang.String name, java.lang.Integer value)
name
- the variable namevalue
- the corresponding indexpublic java.lang.Integer getBindingVariable(java.lang.String name)
name
- the variable namepublic java.lang.Integer removeBindingVariable(java.lang.String name)
name
- the binding variable namepublic java.util.HashMap<java.lang.String,java.lang.Integer> getBindingVariables()
public void resetBindingVariables()
public void setResultBuffer(Value resultBuffer)
public Value getResultBuffer()
public void putByNameVariable(java.lang.String name, Value value)
name
- a variable namevalue
- the variable valuepublic Value getByNameVariable(java.lang.String name)
name
- the variable namepublic Value removeByNameVariable(java.lang.String name)
name
- the variable namepublic java.util.HashMap<java.lang.String,Value> getByNameVariables()
public void resetByNameVariables()
protected int increaseFetchedRows()
protected java.sql.CallableStatement getCallableStatement()
protected int getFetchedRows()
protected OracleOciLob getOutParameter()
protected void setOutParameter(OracleOciLob outParameter)
outParameter
- the new out parameter