[jOOQ/jOOQ#18961] Wrong data type generated in DDL for VARBINARY
converted as UUID type
This commit is contained in:
parent
c1fe6d2d80
commit
f336955121
@ -6167,7 +6167,7 @@ final class Tools {
|
||||
}
|
||||
|
||||
// [#5807] These databases cannot use the DataType.getCastTypeName() (which is simply char in this case)
|
||||
if (type.getType() == UUID.class && NO_SUPPORT_CAST_TYPE_IN_DDL.contains(ctx.dialect())) {
|
||||
if (type.getFromType() == UUID.class && NO_SUPPORT_CAST_TYPE_IN_DDL.contains(ctx.dialect())) {
|
||||
toSQLDDLTypeDeclaration(ctx, VARCHAR(36));
|
||||
return;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user