Hi Lukas,

yes, records=false and relations=true. Thanks for adding it as ticket!
For now, I enabled records again. I only wanted to omit their generation as i 
don't need them, but they are not causing any harm either.

Cheers,
Jörg


-----Ursprüngliche Nachricht-----
Von: [email protected] [mailto:[email protected]] Im Auftrag 
von Lukas Eder
Gesendet: Mittwoch, 21. März 2012 15:37
An: [email protected]
Betreff: Re: Compilation error in generated code

Hi Jörg,

Thanks for reporting this bug. I filed it as #1248:
https://sourceforge.net/apps/trac/jooq/ticket/1248

It will be fixed in the next release. I suppose that you have set
records=false and relations=true ?
This combination is not well handled by the jOOQ API. You could
probably work around the issue by settings relations=false

Cheers
Lukas

Am 21. März 2012 15:21 schrieb Schönfisch, Jörg
<[email protected]>:
> Hi,
>
>
>
> I get a compilation error for the generated table classes if I disable the
> generation of records. The error message is the following:
>
>
>
> Entity.java:[11,69] type parameter org.jooq.Record is not within its bound
>
>
>
> The code at this line looks like this:
>
>
>
> public class Entity extends
> org.jooq.impl.UpdatableTableImpl<org.jooq.Record>
>
>
>
> This error does not occur if I let the generator create the Records. I'm
> using jOOQ 2.1.0 and Postgres 8.3.
>
> Is this a bug in the generator or can I do something to fix this?
>
>
>
> Cheers,
>
>
>
> Joerg

Reply via email to