[jOOQ/jOOQ#11319] JDBCDatabase produces empty string as default value everywhere

This commit is contained in:
Lukas Eder 2021-01-26 22:13:52 +01:00
parent 9bcc3a5ba5
commit 94e12e4f90

View File

@ -75,7 +75,7 @@ public class DefaultMetaTableDefinition extends AbstractTableDefinition {
dataType.precisionDefined() ? dataType.precision() : null,
dataType.scaleDefined() ? dataType.scale() : null,
dataType.nullable(),
create().renderInlined(dataType.defaultValue()),
dataType.defaulted() ? create().renderInlined(dataType.defaultValue()) : null,
(Name) null
);