|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.caucho.quercus.lib.db.JdbcStatementResource
com.caucho.quercus.lib.db.JdbcPreparedStatementResource
com.caucho.quercus.lib.db.OracleStatement
public class OracleStatement
Oracle statement class. Since Oracle has no object oriented API, this is essentially a JdbcStatementResource.
Method Summary | |
---|---|
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 |
Methods inherited from class com.caucho.quercus.lib.db.JdbcPreparedStatementResource |
---|
bindParams, executeImpl, getParam, getParamLength, getPreparedStatement, isPreparable, paramCount, prepare, prepareForExecute, setObject, setPreparedStatement |
Methods inherited from class com.caucho.quercus.lib.db.JdbcStatementResource |
---|
bindResults, close, createResultSet, dataSeek, execute, execute, fetch, freeResult, getColumnCount, getConnection, getErrorCode, getErrorMessage, getFieldCount, getJavaConnection, getMetaData, getNumRows, getQuery, getResultSet, getStatementType, isFetchFieldIndexBeforeFieldName, lastInsertId, setError, setErrorCode, setErrorMessage, setQuery, setResultSet, setStatement, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
protected boolean execute(Env env, int mode)
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 name
public java.lang.Integer removeBindingVariable(java.lang.String name)
name
- the binding variable name
public 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 name
public Value removeByNameVariable(java.lang.String name)
name
- the variable name
public 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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |