Hello,

Thanks for the detailed report. I will track this as #1531:
https://sourceforge.net/apps/trac/jooq/ticket/1531

Cheers
Lukas

2012/7/5  <[email protected]>:
> One of the classes generated contains an error in this method:
>
> @Override
>     public
> org.jooq.Identity<test.migraene.tables.records.AuftragmatrixRecord,
> java.lang.Object> getIdentity() {
>         return test.migraene.Keys.IDENTITY_AUFTRAGMATRIX;
>     }
>
> The error happens because in AbstractTable the method is defined like this:
> @Override
>     public Identity<R, ? extends Number> getIdentity() {
>         return null;
>     }
>
> The primary key is defined something like this:
> artikel_id numeric(10,0) PRIMARY KEY NOT NULL
>
> I guess the problem comes form here:
> /**
>      * An uncommented item
>      *
>      * The SQL type of this item (TypCounter) could not be mapped.<br/>
>      * Deserialising this field might not work!
>      *
>      * PRIMARY KEY
>      */
>     public final
> org.jooq.TableField<test.migraene.tables.records.AuftragmatrixRecord,
> java.lang.Object> ARTIKEL_ID = createField("artikel_id",
> org.jooq.util.ase.ASEDataType.getDefaultDataType("TypCounter"), this);
>
> Is there a way to fix this?
> 10x

Reply via email to