Hi all,
I have a table that looks like this (using H2):
CREATE TABLE IF NOT EXISTS STEP (
DB_ID IDENTITY AUTO_INCREMENT NOT NULL PRIMARY KEY,
CONSTRAINT STEP_PARENT_FK FOREIGN KEY (PARENT) REFERENCES STEP (DB_ID),
jOOQ codegen fails at generating code, with the following message:
[WARN ] Foreign key mismatch : STEP_PARENT_FK does not match its primary key! No code is generated for this key. See trac tickets #64 and #69
[WARN ] Foreign key mismatch : STEP_PARENT_FK does not match its primary key! No code is generated for this key. See trac tickets #64 and #69
It works fine for every other foreign key I have in the schema, that reference other tables. Am I missing something obvious ? I can't find trace of these tickets, jOOQ Trac seems to be closed.
Regards,
Julien