1. Gencer Genç
  2. dbal

Commits

beberlei  committed 6422456

Fix two bugs in Oracle Support

  • Participants
  • Parent commits 60cc6c2
  • Branches master

Comments (0)

Files changed (2)

File lib/Doctrine/DBAL/Driver/OCI8/OCI8Statement.php

View file
         PDO::FETCH_BOTH => OCI_BOTH,
         PDO::FETCH_ASSOC => OCI_ASSOC,
         PDO::FETCH_NUM => OCI_NUM,
-        PDO::PARAM_LOB => OCI_B_BLOB,
         PDO::FETCH_COLUMN => OCI_NUM,
     );
 

File tests/Doctrine/Tests/DBAL/Functional/WriteTest.php

View file
 
         $sequences = $this->_conn->getSchemaManager()->listSequences();
         $this->assertEquals(1, count(array_filter($sequences, function($sequence) {
-            return $sequence->getName() === 'write_table_id_seq';
+            return strtolower($sequence->getName()) === 'write_table_id_seq';
         })));
 
         $stmt = $this->_conn->query($this->_conn->getDatabasePlatform()->getSequenceNextValSQL('write_table_id_seq'));