[DBAL-208] Uniqueidentifier MSSQL type is not supported in DBAL Created: 23/Jan/12  Updated: 24/Mar/12  Resolved: 24/Mar/12

Status: Resolved
Project: Doctrine DBAL
Component/s: Platforms
Affects Version/s: 2.2-BETA2
Fix Version/s: 2.3
Security Level: All

Type: Improvement Priority: Major
Reporter: ross neacoders Assignee: Benjamin Eberlei
Resolution: Fixed Votes: 0
Labels: None

Windows 7 64x
MS SQL 2008 R2 Express edition
Doctrine2, Doctrine-DBAL and Doctrine-Common are on current [master]


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

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

There is a related issue, opened and fixed in Doctrine1 project

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

Generated at Sat Oct 10 10:45:39 EDT 2015 using JIRA 6.4.10#64025-sha1:5b8b74079161cd76a20ab66dda52747ee6701bd6.