1
0
mirror of synced 2025-02-07 15:59:27 +03:00

Merge pull request #376 from lstrojny/de-deprecate-transaction-methods

De-deprecate transaction handling methods
This commit is contained in:
Benjamin Eberlei 2012-07-04 12:42:55 -07:00
commit da331cd277

View File

@ -192,8 +192,6 @@ class EntityManager implements ObjectManager
/** /**
* Starts a transaction on the underlying database connection. * Starts a transaction on the underlying database connection.
*
* @deprecated Use {@link getConnection}.beginTransaction().
*/ */
public function beginTransaction() public function beginTransaction()
{ {
@ -238,8 +236,6 @@ class EntityManager implements ObjectManager
/** /**
* Commits a transaction on the underlying database connection. * Commits a transaction on the underlying database connection.
*
* @deprecated Use {@link getConnection}.commit().
*/ */
public function commit() public function commit()
{ {
@ -248,8 +244,6 @@ class EntityManager implements ObjectManager
/** /**
* Performs a rollback on the underlying database connection. * Performs a rollback on the underlying database connection.
*
* @deprecated Use {@link getConnection}.rollback().
*/ */
public function rollback() public function rollback()
{ {