You are currently viewing the 1.0 branch api documentation. Switch to 1.1

1.0 Doctrine_Adapter_Oracle

Doctrine Adapter Oracle

Custom Doctrine connection adapter for oracle

Method Summary

Returns Name Description
boolean beginTransaction
commit
errorCode
errorInfo
exec
mixed getAttribute
resource getConnection
integer lastInsertId
prepare
query
string quote
boolean rollBack
boolean setAttribute
__construct

'db','username'=>'usr','password'=>'pass'));]]>
   

Method Details

  • (boolean) beginTransaction()

    Begin a transaction


  • commit()

    Commit a transaction


  • errorCode()


  • errorInfo()


  • exec($statement)

    Execute a raw sql statement


  • (mixed) getAttribute($attribute)

    Retrieve a statement attribute

    Doctrine_Adapter_Oracle


  • (resource) getConnection()

    Returns established OCI connection handler

    Doctrine_Adapter_Oracle


  • (integer) lastInsertId()

    Get the id of the last inserted record


  • $query Query to prepare

    prepare($query)

    Prepare a query statement

    Doctrine_Adapter_Oracle


  • query($query)

    Execute query and return results as statement object


  • (string) quote($input)

    Quote a value for the dbms


  • (boolean) rollBack()

    Rollback a transaction


  • $value the value of given attribute

    (boolean) setAttribute($attribute, $value)

    Set connection attribute

    Doctrine_Adapter_Oracle


  • __construct($config = array(), $name)

    Doctrine Oracle adapter constructor

    
    
    'db','username'=>'usr','password'=>'pass'));]]>