Hello, What jOOQ version are you using for this? I cannot reproduce these warnings with your DDL with jOOQ 3.1. The Trac tickets were merged into GitHub using the same ticket IDs
Cheers Lukas 2013/7/1 Julien Nicoulaud <[email protected]> > 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, > > PARENT BIGINT, > > 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 > > -- > You received this message because you are subscribed to the Google Groups > "jOOQ User Group" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- You received this message because you are subscribed to the Google Groups "jOOQ User Group" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
