Doctrine Project

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What’s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
Doctrine DBAL
  • Doctrine DBAL
  • DBAL-181

[Oracle] RAW Type

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 2.1.3
  • Fix Version/s: 2.1.5
  • Component/s: Platforms, Schema Managers
  • Security Level: All
  • Labels:
    None
  • Environment:
    Linux 64bits 2.6.35-30, Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 64bits

Description

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.

  • Options
    • Sort By Name
    • Sort By Date
    • Ascending
    • Descending
    • Download All

Attachments

  1. Text File
    raw.patch
    14/Nov/11 10:26 AM
    0.6 kB
    Juan M

Activity

Ascending order - Click to sort in descending order
  • All
  • Comments
  • History
  • Activity
  • Source
Hide
Permalink
Benjamin Eberlei added a comment - 14/Nov/11 10:55 AM

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

Show
Benjamin Eberlei added a comment - 14/Nov/11 10:55 AM Is raw really a text? Is it similar to VARBINARY or something?
Hide
Permalink
Benjamin Eberlei added a comment - 14/Nov/11 7:34 PM

Fixed.

Show
Benjamin Eberlei added a comment - 14/Nov/11 7:34 PM Fixed.
Hide
Permalink
Juan M added a comment - 14/Nov/11 8:24 PM

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.

Show
Juan M added a comment - 14/Nov/11 8:24 PM 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.

People

  • Assignee:
    Benjamin Eberlei
    Reporter:
    Juan M
Vote (0)
Watch (1)

Dates

  • Created:
    14/Nov/11 10:26 AM
    Updated:
    14/Nov/11 8:24 PM
    Resolved:
    14/Nov/11 7:34 PM
  • Atlassian JIRA (v5.2.7#850-sha1:b2af0c8)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Doctrine Project. Try JIRA - bug tracking software for your team.