Hi everyone,

I think I found a tiny bug in the enum creation...


package de.company.project.internationalisation.enums;

/**
 * This class is generated by jOOQ.
 */
@javax.annotation.Generated(value    = { "http://www.jooq.org";, "3.2.0" },
                            comments = "This class is generated by jOOQ")
@java.lang.SuppressWarnings({ "all", "unchecked", "rawtypes" })
public enum Language implements org.jooq.EnumType {

....

cy("cy"),

da("da"),

de("de"),

dz("dz"),

el("el"),

....

/**
 * {@inheritDoc}
 */
@Override
public org.jooq.Schema getSchema() {
return 
de.company.project.internationalisation.Internationalisation.INTERNATIONALISATION;
}

}

Obviously, the code generator creates the package name de.company.... which 
collides with the enum
value 'de'. The compiler tries to dereference de.company on the enum 
instance, which is not going to work :(

Eclipse complains with 'cannot resolve variable or field'

Any chances to get a workaround for that ?
Best,
Patrik


-- 
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.

Reply via email to