Skip to content

fix SQLServerPlatform GUID expression #254

merged 1 commit into from Jan 25, 2013

3 participants

Doctrine member

The GUID expression UUID() does not exist in SQLServer. Instead NEWID() is used. This PR fixes this.




thank you for positing this Pull Request. I have automatically opened an issue on our Jira Bug Tracker for you with the details of this Pull-Request. See the Link:

Doctrine member

@deeky666 you're right. SQL Server 2000 and 2005 provides this function.
SQL Server 2005 and later also support NEWSEQUENTIALID(), but it seems there're some bugs related to them that we rely as working around here.
Merging since it completely satisfies the purpose.

@guilhermeblanco guilhermeblanco merged commit 99a1338 into doctrine:master Jan 25, 2013

1 check passed

Details default The Travis build passed
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.