That’s for JPA annotations. If you look in the XSD I linked you’ll find info 
about “generatedAnnotation”, which is what you’re after.

> On Oct 24, 2018, at 1:14 PM, Joseph Dornisch <[email protected]> wrote:
> 
> So, I tried adding 
>             <jpaAnnotations>false</jpaAnnotations>
> to my codegen.xml file at configuration/generator/generate
> It still creates the Generated annotion. Am I missing something as far as 
> turning this off goes?
> 
> 
> On Wednesday, October 24, 2018 at 12:44:40 PM UTC-4, Lukas Eder wrote:
> Aha, I see, thanks Joseph.
> 
> Indeed, the annotations are not part of JAXB. During the JDK's 
> modularisation, some previously split packages have been cleaned up and there 
> had been inevitable package renames for certain annotations. Indeed, turning 
> off the generated annotations is one option.
> 
> Thanks,
> Lukas
> 
> On Wed, Oct 24, 2018 at 5:51 PM Marshall Pierce <[email protected]> wrote:
> On 10/24/2018 09:43 AM, Joseph Dornisch wrote:
> > I don't know what to make of your statement about the jaxws-api 
> > dependency, because if I do not have it the generated code does not compile:
> > 
> > [ERROR] 
> > /C:/Users/jad292/Dropbox/testcode/alcuin/src/main/java/com/alcuin/generated/jooq/tables/records/StockDayRecord.java:[11,13]
> >  
> > package javax.annotation is not visible
> >    (package javax.annotation is declared in module 
> > java.xml.ws.annotation, which is not in the module graph)
> > [ERROR] 
> > /C:/Users/jad292/Dropbox/testcode/alcuin/src/main/java/com/alcuin/generated/jooq/tables/records/TestRecord.java:[9,13]
> >  
> > package javax.annotation is not visible
> > 
> FWIW I turned off the @Generated annotation to avoid that issue. It's 
> not in the docs on annotation configuration 
> (https://www.jooq.org/doc/3.11/manual/code-generation/codegen-advanced/codegen-config-generate/codegen-generate-annotations/)
>  
> but it is in the XSD (http://www.jooq.org/xsd/jooq-codegen-3.11.0.xsd).
> 
> -- 
> 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/d/optout.
> 
> -- 
> 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/d/optout.

-- 
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/d/optout.

Reply via email to