Compilation error in generated code when global object references conflict with schema names #15383
Closed
10 tasks done
Projects
Milestone
The following simple DDL script can't be used as a source of code generation in jOOQ:
The global object references generated this way will conflict with the schema names. The schema class is generated first, and then overwritten by the global object references class, leading to compilation errors in generated tables, for example, which reference the schema:
The solution is to disambiguate the global object references class name in
GeneratorStrategy::getGlobalReferencesJavaClassName
, etc.Affected global references files include:
Domains
Indexes
Links
Keys
UDTs
Queues
Routines
Sequences
Tables
Triggers
The text was updated successfully, but these errors were encountered: