[jOOQ/jOOQ#19219] Work around ojdbc returning RESTRICT instead of NO_ACTION in MetaImpl
This commit is contained in:
parent
8537aff9c7
commit
16cd10a484
@ -1474,7 +1474,18 @@ final class MetaImpl extends AbstractMeta {
|
||||
}
|
||||
|
||||
private final ForeignKeyRule foreignKeyRule(Integer code) {
|
||||
return code == null ? null : JDBCUtils.foreignKeyRule(code);
|
||||
if (code == null)
|
||||
return null;
|
||||
|
||||
ForeignKeyRule result = JDBCUtils.foreignKeyRule(code);
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
|
||||
Loading…
Reference in New Issue
Block a user