[jOOQ/jOOQ#19394] Error when generating code for SQLite table containing both UNIQUE and FOREIGN KEY, when referenced table has no UNIQUE key
This commit is contained in:
parent
f6a1d3951d
commit
fa5103ee43
@ -146,6 +146,7 @@ import org.jooq.TableOptions.TableType;
|
||||
// ...
|
||||
// ...
|
||||
import org.jooq.UniqueKey;
|
||||
import org.jooq.conf.InterpreterWithMetaLookups;
|
||||
import org.jooq.conf.ParseUnknownFunctions;
|
||||
import org.jooq.conf.Settings;
|
||||
import org.jooq.exception.DataAccessException;
|
||||
@ -793,7 +794,9 @@ final class MetaImpl extends AbstractMeta {
|
||||
try {
|
||||
m = dsl()
|
||||
.configuration()
|
||||
.deriveSettings(s -> s.withInterpreterDelayForeignKeyDeclarations(true))
|
||||
.deriveSettings(s -> s
|
||||
.withInterpreterDelayForeignKeyDeclarations(true)
|
||||
.withInterpreterWithMetaLookups(InterpreterWithMetaLookups.IGNORE_ON_FAILURE))
|
||||
.dsl()
|
||||
.meta(sb.toString());
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user