[2.0] Moved beginTransaction() in UnitOfWork#commit() out of the try block so that exceptions occuring during prior or on transaction start are not masked by another exception.
[2.0] Moved beginTransaction() in UnitOfWork#commit() out of the try block so that exceptions occuring during prior or on transaction start are not masked by another exception.

git-svn-id: 6d62a1918bfbe91cfb3198953e3056b244989dd5@6260 2b2ae520-0f61-44a6-8c59-7e116ffd6265

tedconf/doctrine-unofficial