Package | Description |
---|---|
com.caucho.quercus.lib.db |
Modifier and Type | Method and Description |
---|---|
protected OracleStatement |
Oracle.createStatementResource(Env env) |
static OracleStatement |
OracleModule.oci_new_cursor(Env env,
Oracle conn)
Allocates and returns a new cursor (statement handle)
|
static OracleStatement |
OracleModule.oci_parse(Env env,
Oracle conn,
java.lang.String query)
Prepares Oracle statement for execution
|
static OracleStatement |
OracleModule.ocinewcursor(Env env,
Oracle conn)
Alias of oci_new_cursor()
|
static OracleStatement |
OracleModule.ociparse(Env env,
Oracle conn,
java.lang.String query)
Alias of oci_parse()
|
OracleStatement |
Oracle.prepare(Env env,
java.lang.String query)
returns a prepared statement
|
Modifier and Type | Method and Description |
---|---|
static boolean |
OracleModule.oci_bind_array_by_name(Env env,
OracleStatement stmt,
java.lang.String name,
ArrayValue varArray,
int maxTableLength,
int maxItemLength,
int type)
Binds PHP array to Oracle PL/SQL array by name.
|
static boolean |
OracleModule.oci_bind_by_name(Env env,
OracleStatement stmt,
java.lang.String placeholderName,
Value variable,
int maxLength,
int type)
Binds the PHP variable to the Oracle placeholder
|
static boolean |
OracleModule.oci_cancel(Env env,
OracleStatement stmt)
Cancels reading from cursor
|
static boolean |
OracleModule.oci_define_by_name(Env env,
OracleStatement stmt,
java.lang.String columnName,
Value variable,
int type)
Uses a PHP variable for the define-step during a SELECT
|
static boolean |
OracleModule.oci_execute(Env env,
OracleStatement stmt,
int mode)
Executes a statement
|
static Value |
OracleModule.oci_fetch_all(Env env,
OracleStatement stmt,
Value output,
int skip,
int maxrows,
int flags)
Fetches all rows of result data into an array
|
static Value |
OracleModule.oci_fetch_array(Env env,
OracleStatement stmt,
int mode)
Returns the next row from the result data as an
associative or numeric array, or both
|
static Value |
OracleModule.oci_fetch_assoc(Env env,
OracleStatement stmt)
Returns the next row from the result data as an associative array
|
static Value |
OracleModule.oci_fetch_object(Env env,
OracleStatement stmt)
Returns the next row from the result data as an object
|
static Value |
OracleModule.oci_fetch_row(Env env,
OracleStatement stmt)
Returns the next row from the result data as a numeric array
|
static boolean |
OracleModule.oci_fetch(Env env,
OracleStatement stmt)
Fetches the next row into result-buffer
|
static boolean |
OracleModule.oci_field_is_null(Env env,
OracleStatement stmt,
Value fieldNameOrNumber)
Checks if the field is NULL
|
static Value |
OracleModule.oci_field_name(Env env,
OracleStatement stmt,
int fieldNumber)
Returns the name of a field from the statement
|
static LongValue |
OracleModule.oci_field_precision(Env env,
OracleStatement stmt,
int field)
Tell the precision of a field
|
static LongValue |
OracleModule.oci_field_scale(Env env,
OracleStatement stmt,
int field)
Tell the scale of the field
|
static Value |
OracleModule.oci_field_size(Env env,
OracleStatement stmt,
Value fieldNameOrNumber)
Returns field's size
|
static int |
OracleModule.oci_field_type_raw(Env env,
OracleStatement stmt,
int field)
Tell the raw Oracle data type of the field
|
static Value |
OracleModule.oci_field_type(Env env,
OracleStatement stmt,
int fieldNumber)
Returns field's data type
|
static boolean |
OracleModule.oci_free_statement(Env env,
OracleStatement stmt)
Frees all resources associated with statement or cursor
|
static Value |
OracleModule.oci_num_fields(Env env,
OracleStatement stmt)
Returns the number of result columns in a statement
|
static LongValue |
OracleModule.oci_num_rows(Env env,
OracleStatement stmt)
Returns number of rows affected during statement execution
Note: This function does not return number of rows selected!
For SELECT statements this function will return the number of rows,
that were fetched to the buffer with oci_fetchxxxx() functions.
|
static Value |
OracleModule.oci_result(Env env,
OracleStatement stmt,
Value field)
Returns field's value from the fetched row
|
static boolean |
OracleModule.oci_set_prefetch(Env env,
OracleStatement stmt,
int rows)
Sets number of rows to be prefetched
|
static java.lang.String |
OracleModule.oci_statement_type(Env env,
OracleStatement stmt)
Returns the type of an OCI statement
|
static boolean |
OracleModule.ocibindbyname(Env env,
OracleStatement stmt,
java.lang.String variable,
Value value,
int maxLength,
int type)
Alias of oci_bind_by_name()
|
static boolean |
OracleModule.ocicancel(Env env,
OracleStatement stmt)
Alias of oci_cancel()
|
static boolean |
OracleModule.ocicolumnisnull(Env env,
OracleStatement stmt,
Value field)
Alias of oci_field_is_null()
|
static Value |
OracleModule.ocicolumnname(Env env,
OracleStatement stmt,
int fieldNumber)
Alias of oci_field_name()
|
static Value |
OracleModule.ocicolumnprecision(Env env,
OracleStatement stmt,
int field)
Alias of oci_field_precision()
|
static Value |
OracleModule.ocicolumnscale(Env env,
OracleStatement stmt,
int field)
Alias of oci_field_scale()
|
static Value |
OracleModule.ocicolumnsize(Env env,
OracleStatement stmt,
Value field)
Alias of oci_field_size()
|
static Value |
OracleModule.ocicolumntype(Env env,
OracleStatement stmt,
int fieldNumber)
Alias of oci_field_type()
|
static int |
OracleModule.ocicolumntyperaw(Env env,
OracleStatement stmt,
int field)
Alias of oci_field_type_raw()
|
static boolean |
OracleModule.ocidefinebyname(Env env,
OracleStatement stmt,
java.lang.String columnName,
Value variable,
int type)
Alias of oci_define_by_name()
|
static boolean |
OracleModule.ociexecute(Env env,
OracleStatement stmt,
int mode)
Alias of oci_execute()
|
static boolean |
OracleModule.ocifetch(Env env,
OracleStatement stmt)
Alias of oci_fetch()
|
static Value |
OracleModule.ocifetchinto(Env env,
OracleStatement stmt,
Value result,
int mode)
Fetches the next row into an array
|
static Value |
OracleModule.ocifetchstatement(Env env,
OracleStatement stmt,
Value output,
int skip,
int maxrows,
int flags)
Alias of oci_fetch_all()
|
static boolean |
OracleModule.ocifreecursor(Env env,
OracleStatement stmt)
Alias of oci_free_statement()
|
static boolean |
OracleModule.ocifreestatement(Env env,
OracleStatement stmt)
Alias of oci_free_statement()
|
static Value |
OracleModule.ocinumcols(Env env,
OracleStatement stmt)
Alias of oci_num_fields()
|
static Value |
OracleModule.ociresult(Env env,
OracleStatement stmt,
Value field)
Alias of oci_result()
|
static Value |
OracleModule.ocirowcount(Env env,
OracleStatement stmt)
Alias of oci_num_rows()
|
static boolean |
OracleModule.ocisetprefetch(Env env,
OracleStatement stmt,
int rows)
Alias of oci_set_prefetch()
|
static java.lang.String |
OracleModule.ocistatementtype(Env env,
OracleStatement stmt)
Alias of oci_statement_type()
|