Doctrine DBAL
  1. Doctrine DBAL
  2. DBAL-208

Uniqueidentifier MSSQL type is not supported in DBAL

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.2-BETA2
    • Fix Version/s: 2.3
    • Component/s: Platforms
    • Security Level: All
    • Labels:
      None
    • Environment:
      Windows 7 64x
      MS SQL 2008 R2 Express edition
      Doctrine2, Doctrine-DBAL and Doctrine-Common are on current [master]

      Description

      My Symfony2 projects currently use main trunks of the Doctrine projects, the latest release merge into this branch was 2.2.0-BETA2, that's why I mentioned it in"Affected versions". Sorry if mistaken.

      I would like to report that MSSQL Driver/Platform still does not support the 'uniquidentifier' field type of MSSQL.

      Trying to introspect the database with
      php app/console doctrine:mapping:import MMPTestDBBundle annotation
      we get the error

      [Doctrine\DBAL\DBALException]
        Unknown database type uniqueidentifier requested, Doctrine\DBAL\Platforms\SQLServer2008Platform may not support it.
      

      There is a related issue, opened and fixed in Doctrine1 project
      http://www.doctrine-project.org/jira/browse/DC-253

      Going to fix this issue in the same way. Any help greatly appreciated.

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Benjamin Eberlei
            Reporter:
            ross neacoders
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: