Example #1
0
 public function testAdapterTransactionRollback()
 {
     $server = $this->_util->getServer();
     if ($server == 'IDS') {
         $this->markTestIncomplete('IDS needs special consideration for transactions');
     } else {
         parent::testAdapterTransactionCommit();
     }
 }
Example #2
0
 /**
  * @group ZF-7706
  */
 public function testStatementCanReturnDriverStatement()
 {
     $statement = parent::testStatementCanReturnDriverStatement();
     $this->assertType('PDOStatement', $statement->getDriverStatement());
 }
Example #3
0
 public function testStatementBindValueByName()
 {
     $products = $this->_db->quoteIdentifier('zfproducts');
     // Make IDENTITY column accept explicit value.
     // This can be done in only one table in a given session.
     $this->_db->getConnection()->exec("SET IDENTITY_INSERT {$products} ON");
     parent::testStatementBindValueByName();
     $this->_db->getConnection()->exec("SET IDENTITY_INSERT {$products} OFF");
 }