Skip to content

Instantly share code, notes, and snippets.

View pcruz1905's full-sized avatar

Pruz pcruz1905

  • https://www.linkedin.com/in/pruz19/
  • Porto, Portugal
  • Instagram pedrcruzz
View GitHub Profile
@pcruz1905
pcruz1905 / JDBIjOOQ.java
Created May 11, 2026 20:03 — forked from stantonk/JDBIjOOQ.java
JDBI + jOOQ. Combine SQL Builder of jOOQ with all the awesomeness of JDBI, but avoid using jOOQ's codegen, having to keep it up to date with schema changes (just update the single query that's changed) or overcomplicating your build process. jOOQ never touches the database.
// see:
// http://jdbi.org/fluent_queries/
// http://www.jooq.org/doc/3.7/manual/getting-started/use-cases/jooq-as-a-standalone-sql-builder/
// Your Java Bean
public static class Reminder {
private long id;
private long customerId;
public Reminder(long id, long customerId) {
{"label":"coverage","message":"83.3%","schemaVersion":1,"color":"hsl(99, 100%, 40%)"}