We've recently encountered this interesting use-case on the jOOQ user group. How do you discover all primary keys of your schema via the jOOQ API? There are two ways: Using the generated meta data Using runtime meta data Let's see how it works: Using the generated meta data This is straightforward. If you're using Java … Continue reading jOOQ Tip of the Day: Discover all Primary Keys