[jOOQ/jOOQ#8808] Generate qualified references into Sequences class
The references to the static sequence fields in the generated `Sequences` class should be fully qualified in order to avoid potential conflicts between schema and sequence names.
This commit is contained in:
parent
517ad869b6
commit
1733cd5eaa
@ -4648,7 +4648,7 @@ public class JavaGenerator extends AbstractGenerator {
|
||||
final String seqType = out.ref(seqTypeFull);
|
||||
final String seqId = getStrategy().getJavaIdentifier(sequence);
|
||||
final String seqName = sequence.getOutputName();
|
||||
final String schemaId = out.ref(getStrategy().getFullJavaIdentifier(schema), 2);
|
||||
final String schemaId = getStrategy().getFullJavaIdentifier(schema);
|
||||
final String typeRef = getJavaTypeReference(sequence.getDatabase(), sequence.getType(resolver()));
|
||||
|
||||
if (!printDeprecationIfUnknownType(out, seqTypeFull))
|
||||
|
||||
Loading…
Reference in New Issue
Block a user