Class: Doctrine_Transaction_Mssql

Source Location: /Doctrine/Transaction/Mssql.php

Class Doctrine_Transaction_Mssql

Class Overview

Located in /Doctrine/Transaction/Mssql.php [line 33]

Doctrine_Connection_Module
   |
   --Doctrine_Transaction
      |
      --Doctrine_Transaction_Mssql
Author(s): Information Tags:
Version:  $Revision: 1080 $
Link:  www.phpdoctrine.com
Since:  1.0
License:  LGPL

Methods

[ Top ]
Inherited Properties, Constants, and Methods
Inherited Properties Inherited Methods Inherited Constants

Inherited From Doctrine_Transaction

Doctrine_Transaction::$delete
Doctrine_Transaction::$invalid
Doctrine_Transaction::$savePoints
Doctrine_Transaction::$transactionLevel
Doctrine_Transaction::$_collections

Inherited From Doctrine_Connection_Module

Doctrine_Connection_Module::$conn
Doctrine_Connection_Module::$moduleName

Inherited From Doctrine_Transaction

Doctrine_Transaction::addCollection()
addCollection adds a collection in the internal array of collections
Doctrine_Transaction::addDelete()
addDelete adds record into pending delete list
Doctrine_Transaction::addInvalid()
addInvalid adds record into invalid records list
Doctrine_Transaction::beginTransaction()
beginTransaction Start a transaction or set a savepoint.
Doctrine_Transaction::bulkDelete()
bulkDelete deletes all records from the pending delete list
Doctrine_Transaction::commit()
commit Commit the database changes done during a transaction that is in progress or release a savepoint. This function may only be called when auto-committing is disabled, otherwise it will fail.
Doctrine_Transaction::createSavePoint()
releaseSavePoint creates a new savepoint
Doctrine_Transaction::getDeletes()
returns the pending delete list
Doctrine_Transaction::getIsolation()
getTransactionIsolation
Doctrine_Transaction::getState()
getState returns the state of this connection
Doctrine_Transaction::getTransactionLevel()
getTransactionLevel get the current transaction nesting level
Doctrine_Transaction::releaseSavePoint()
releaseSavePoint releases given savepoint
Doctrine_Transaction::removeSavePoints()
removeSavePoints removes a savepoint from the internal savePoints array of this transaction object and all its children savepoints
Doctrine_Transaction::rollback()
rollback
Doctrine_Transaction::rollbackSavePoint()
rollbackSavePoint releases given savepoint
Doctrine_Transaction::setIsolation()
setIsolation
Doctrine_Transaction::setTransactionLevel()
getTransactionLevel set the current transaction nesting level

Inherited From Doctrine_Connection_Module

Doctrine_Connection_Module::__construct()
Doctrine_Connection_Module::getConnection()
getConnection returns the connection object this module uses
Doctrine_Connection_Module::getModuleName()
getModuleName returns the name of this module

Inherited From Doctrine_Transaction

Doctrine_Transaction::STATE_ACTIVE
Doctrine_Transaction::STATE_BUSY
Doctrine_Transaction::STATE_SLEEP

[ Top ]
Method Summary
void   setIsolation()   Set the transacton isolation level.

[ Top ]
Properties
Methods
setIsolation  [line 52]

  void setIsolation( string $isolation, [ $options = array()]  )

Set the transacton isolation level.

Parameters:
string   $isolation:  standard isolation level (SQL-92) portable modes: READ UNCOMMITTED (allows dirty reads) READ COMMITTED (prevents dirty reads) REPEATABLE READ (prevents nonrepeatable reads) SERIALIZABLE (prevents phantom reads) mssql specific modes: SNAPSHOT
   $options: 

API Tags:
Access:  public

Information Tags:
Link:  http://msdn2.microsoft.com/en-us/library/ms173763.aspx
Throws:  PDOException if something fails at the PDO level
Throws:  Doctrine_Transaction_Exception if using unknown isolation level or unknown wait option

Redefinition of:
Doctrine_Transaction::setIsolation()
setIsolation

[ Top ]