Migrate to JOOQ