Skip to content

Loading…

DBAL-181: [Oracle] RAW Type #1348

Closed
doctrinebot opened this Issue · 5 comments

2 participants

@doctrinebot

Jira issue originally created by user joksnet:

Missing type raw from OraclePlatform::initializeDoctrineTypeMappings.

The Symfony2 task doctrine:schema:update_ throws _Unknown database type raw requested, Doctrine\DBAL\Platforms\OraclePlatform may not support it..

The attached patch seems to fix it, but I don't know if something more to be done.

@doctrinebot

Comment created by @beberlei:

Is raw really a text? Is it similar to VARBINARY or something?

@doctrinebot

Comment created by @beberlei:

Fixed.

@doctrinebot

Issue was closed with resolution "Fixed"

@doctrinebot

Comment created by joksnet:

Thank you Benjamin. Sorry I didn't answer before.

I don't use RAW type in my tables, but Oracle creates tables when you do an export/import that contains this type. This tables starts with "SYS_" and must be ignored. I'm not an expert, but maybe change the list tables method to another that doesn't return the system tables.

Either way, this works perfect. Thanks again.

@doctrinebot doctrinebot added the Bug label
@beberlei beberlei was assigned by doctrinebot
@doctrinebot doctrinebot added this to the 2.1.5 milestone
@doctrinebot doctrinebot closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.