Pt_BR En Ja De Fr 
You are currently viewing the 0.11 branch api documentation. Switch to 1.0 or 1.1

0.11 Doctrine_Adapter_Oracle

Doctrine Adapter Oracle

Custom Doctrine connection adapter for oracle

Method Summary

Returns Name Description
closeConnection
Doctrine_Statement_Oracle prepare
string quoteTableAs
setFetchMode
_beginTransaction
_commit
_connect
integer _getExecuteMode
string _quote
_rollBack
__construct 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

Method Details

  • closeConnection()

    Force the connection to close.


  • $sql The SQL statement with placeholders.

    (Doctrine_Statement_Oracle) prepare($sql)

    Returns an SQL statement for preparation.


  • $ident The identifier or expression.
    $alias An alias for the table.

    (string) quoteTableAs((string|array|Doctrine_Expr) $ident, $alias)

    Quote a table identifier and alias.

    Doctrine_Adapter_Oracle


  • $mode A fetch mode.

    setFetchMode($mode)

    Set the fetch mode.

    throws Doctrine_Adapter_Exception


  • _beginTransaction()

    Leave autocommit mode and begin a transaction.


  • _commit()

    Commit a transaction and return to autocommit mode.

    throws Doctrine_Adapter_Exception


  • _connect()

    Creates a connection resource.

    throws Doctrine_Adapter_Exception


  • (integer) _getExecuteMode()

    Get the current execute mode


  • $value Raw string

    (string) _quote($value)

    Quote a raw string.

    Doctrine_Adapter_Oracle


  • _rollBack()

    Roll back a transaction and return to autocommit mode.

    throws Doctrine_Adapter_Exception


  • $config An array of configuration keys.

    __construct($config)

    $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

    throws Doctrine_Adapter_Exception


Comments (0) [ add comment ]

 No Comments

Add Comment

Add New Comment
Please enter follow the doctrine