> Related to all of this, I also need the ability to determine the PK of each
> table, and I didn't see any way to get that information from the metadata.
> If it's really not there, my metadata generator can easily add an accessor
> for that information but then I'll be typecasting Table to MyTable every
> time I need my special metadata.  What do you think about adding PK info to
> the jooq metadata?

Have a look at
http://www.jooq.org/javadoc/latest/org/jooq/UpdatableTable.html#getMainKey()

Reply via email to