Add UUID support for SQL Server 2008

Description

Add support for the uniqueidentifier data type in the SQLServerDialect for UUID, which is supported at least since SQL Server 2008. Since the minimum version is 10 now, which is for SQL Server 2008, we can safely add that type unconditionally. Also see

We might need a custom JdbcType though to bind the bytes in the right order. Also see

Also, check out if the JDBC driver reports some funky JDBC type code for this DDL type and if so, map that type code to our UUID code.

Also, mention the change of SQL types in the migration guide, with a reference to the config setting that allows controlling the SQL type.

Activity

Show:
Fixed

Details

Assignee

Reporter

Components

Fix versions

Priority

Created September 13, 2022 at 8:46 AM
Updated December 22, 2022 at 10:59 PM
Resolved September 14, 2022 at 9:11 AM