doctrine / dbal

Doctrine Database Abstraction Layer
https://www.doctrine-project.org/projects/dbal.html
MIT License
9.46k stars 1.33k forks source link

DBAL-142: Mapping Driver for Oracle does not know what to do with blobs, throws DBAL Exception for types "blob" and "long raw". #1296

Closed doctrinebot closed 8 years ago

doctrinebot commented 13 years ago

Jira issue originally created by user digitalmechanic:

When attempting to reverse engineer an existing Oracle 11g database an exception is thrown (by DBAL) complaining that the type blob is unknown. I believe this is coming from AbstractPlatform.php. I attempted to solve the problem by add a type mapping for blob in PDOOracle\Driver.php (blob => text) and it now complains that "long raw" is unknown.

[Doctrine\DBAL\DBALException] Unknown database type long raw requested, Doctrine\DBAL\Platforms\OraclePlatform may not support it.

doctrinebot commented 13 years ago
doctrinebot commented 12 years ago

Comment created by @beberlei:

Implemented blob support

doctrinebot commented 12 years ago

Comment created by seandiovza:

Sorry. i am new in it, i am developing and app in symfony 2, and when i try to import the entities from the database i get the error:

[Doctrine\DBAL\DBALException] Unknown database type blob requested, Doctrine\DBAL\Platform may not support it.

i am using oracle 11g, i did try (blob => 'text') in oraclepatform.php but is later send me more errors, i cant understand, i want know how can i fix it i anyway to at least can import the entities, thank you

doctrinebot commented 12 years ago

Issue was closed with resolution "Fixed"

github-actions[bot] commented 2 years ago

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.