[jOOQ/jOOQ#17284] Cannot parse default expression in Derby using MetaImpl when computed column is reported as DEFAULT
This commit is contained in:
parent
70250beea4
commit
0592a782b1
@ -1500,6 +1500,13 @@ final class MetaImpl extends AbstractMeta {
|
||||
|
||||
|
||||
|
||||
// [#17284] Computed columns are reported as defaults
|
||||
case DERBY:
|
||||
if (defaultValue != null && defaultValue.toUpperCase().startsWith("GENERATED ALWAYS AS"))
|
||||
defaultValue = null;
|
||||
|
||||
break;
|
||||
|
||||
case DUCKDB:
|
||||
if (!isAutoIncrement && !isEmpty(defaultValue) && P_DUCKDB_IDENTITY_DEFAULT.matcher(defaultValue).matches()) {
|
||||
isAutoIncrement = true;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user