Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Exporting from schema with foreign key reference to another schema produces invalid code #211
Using QueryDSL 2.7.2 and Oracle 10g express edition, I get references to missing classes when I try to export a Java model from schema containing foreign key references to another schema.
So, if I have a schema A with table
and a schema B with table
and I try to export schema B with com.mysema.query.sql.codegen.MetaDataExporter, the generated code refers to class QTablea even though no such class is generated.
Maybe foreign key constraints to different schemas should be left out of the code generation?