Hi Manfred, This works fine for me both in my Oracle XE development database, and in a "full-fledged" 11g database, so I'm guessing it's not a version issue here (unless you have some other version than 10g or 11g?
Can you do these things for me: - Provide me with the generated Keys.java class (if it exists) - Provide me with any errors in your generation log, that you might have gotten - Provide me with the generated Mtrlfrmtrlrdrtmplt.java class - Provide me with the definition of the MTRLFRMTRLRDRTMPLT table (CREATE TABLE ... statement, including all key specifications) Cheers Lukas 2011/5/30 Manfred Schäfer <[email protected]>: > Hi, > > i'm generating source code with jooq 1.5.9. The debug output tells me, > that JOOQ has correctly identified the primary keys: > > DEBUG [main] (JooqLogger.java:142) - Adding primary key : > SYS_C0013879 (LOCATIONS.MTRLFRMTRLRDRTMPLT.PK__MATERIALORDERTEMPLATE_ID) > DEBUG [main] (JooqLogger.java:142) - Adding primary key : > SYS_C0013879 (LOCATIONS.MTRLFRMTRLRDRTMPLT.PK_ID) > > > But in the generated code all primary and foreign keys are missing. > The generation properties file conatins the line > > generator.generate.relations=true > > If i'm using the same libs with my toy XE Database, the generation > works as expected!? > > regards, > > Manfred >
