Checks whether the current transaction is marked for rollback only.
public isRollbackOnly ( ) : boolean | ||
return | boolean |
public function testIsRollbackOnlyNoActiveTransaction_ThrowsException() { $this->setExpectedException('Doctrine\\DBAL\\ConnectionException'); $this->_conn->isRollbackOnly(); }