Doctrine_Adapter_Oracle __construct(
$config
)
|
|
Constructor.
$config is an array of key/value pairs containing configuration options. These options are common to most adapters:
username => (string) Connect to the database as this username. password => (string) Password associated with the username. dbname => Either the name of the local Oracle instance, or the name of the entry in tnsnames.ora to which you want to connect.
Parameters:
array |
$config: |
An array of configuration keys. |
API Tags:
Information Tags:
Throws: | Doctrine_Adapter_Exception |
Force the connection to close.
API Tags:
Doctrine_Statement_Oracle prepare(
string
$sql
)
|
|
Returns an SQL statement for preparation.
Parameters:
string |
$sql: |
The SQL statement with placeholders. |
API Tags:
string quoteTableAs(
string|array|Doctrine_Expr
$ident, string
$alias
)
|
|
Quote a table identifier and alias.
Parameters:
string|array|Doctrine_Expr |
$ident: |
The identifier or expression. |
string |
$alias: |
An alias for the table. |
API Tags:
Return: | The quoted identifier and alias. |
Access: | public |
void setFetchMode(
integer
$mode
)
|
|
Set the fetch mode.
Parameters:
integer |
$mode: |
A fetch mode. |
API Tags:
Information Tags:
Todo: | Support FETCH_CLASS and FETCH_INTO. |
Throws: | Doctrine_Adapter_Exception |
void _beginTransaction(
)
|
|
Leave autocommit mode and begin a transaction.
API Tags:
Commit a transaction and return to autocommit mode.
API Tags:
Information Tags:
Throws: | Doctrine_Adapter_Oracle_Exception |
Creates a connection resource.
API Tags:
Information Tags:
Throws: | Doctrine_Adapter_Oracle_Exception |
string _quote(
string
$value
)
|
|
Quote a raw string.
Parameters:
string |
$value: |
Raw string |
API Tags:
Return: | Quoted string |
Access: | protected |
Roll back a transaction and return to autocommit mode.
API Tags:
Information Tags:
Throws: | Doctrine_Adapter_Oracle_Exception |
void _setExecuteMode(
integer
$mode
)
|
|
Parameters:
API Tags:
Information Tags:
Throws: | Doctrine_Adapter_Exception |