jOOQ VS HikariCP

Compare jOOQ vs HikariCP and see what are their differences.

InfluxDB – Built for High-Performance Time Series Workloads
InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
jOOQ HikariCP
99 37
6,377 20,446
0.5% 0.5%
9.8 8.6
10 days ago about 1 month ago
Java Java
GNU General Public License v3.0 or later Apache License 2.0
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

jOOQ

Posts with mentions or reviews of jOOQ. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2025-02-23.
  • Streaming data from RDBMS with jooq
    3 projects | dev.to | 23 Feb 2025
    Relational databases provide components such as cursors, which can be used to process large datasets while fetching only a limited number of rows at a time. With the help of jooq framework,we can take it a step further—leveraging cursors under the hood while seamlessly integrating with Java's Stream API. Let’s see it in action!
  • Systems ideas that sound good but almost never work
    1 project | news.ycombinator.com | 31 Dec 2024
    (1) DSLs work great sometimes. See https://www.jooq.org/

    (2) Elastic Load Balancer is a control loop responsive to workloads, that kind of thing is a commodity

    (3) Under-provisioning is rampant in most industries; see https://erikbern.com/2018/03/27/waiting-time-load-factor-and... and https://www.amazon.com/Goal-Process-Ongoing-Improvement/dp/0...

    (4) Anomaly detection is not inherently a problem of distributed systems like the others, but someone facing the problems they've been burned with might think they need it. Intellectually it's tough. The first algorithm I saw that felt halfway smart was https://scikit-learn.org/1.5/modules/outlier_detection.html#... which is sometimes a miracle and I had good luck using it on text with the CNN-based embeddings we had in 2018 but none at all w/ SBERT.

  • Net 9.0 LINQ Performance Improvements
    16 projects | news.ycombinator.com | 18 Oct 2024
    jOOQ would be one such example, https://www.jooq.org/

    Not that I use this, I am a myBatis person in what concerns database access in Java, and Dapper in .NET for that matter, not a big ORM fan.

  • Sqlc: Compile SQL to type-safe code
    15 projects | news.ycombinator.com | 8 Sep 2024
  • Serious flaws in SQL – Edgar F. Codd (1990)
    2 projects | news.ycombinator.com | 25 Apr 2024
    > 2. ORMs do not hide SQL nastiness.

    This is certainly true!

    I mean: ORMs are now well known to "make the easy queries slightly more easy, while making intermediate queries really hard and complex queries impossible".

    I think the are of ORMs is over. It simply did not deliver.

    If a book on SQL is --say-- 100 pages, a book on Hibernate is 400 pages. So much to learn just to make the easy queries slightly easier to type? Just not worth it.

    I prefer jooq any day over ORMs. And dont get me started over what tools like Hasuna have to offer.

    There are also some languages (forgot the names) that are SQL-done-right. Select in the back, more type safe, more logic, more in the same steps as the query gets executed. These need to be adopted by PG and MySQL and we're good to go. (IMHO)

    https://www.jooq.org/

    https://hasura.io/

  • ORMs are nice but they are the wrong abstraction
    7 projects | news.ycombinator.com | 1 Feb 2024
  • Do jOOQ DAOs support Kotlin Coroutines with R2DBC?
    1 project | /r/jOOQ | 21 Nov 2023
    See: https://github.com/jOOQ/jOOQ/issues/5916
  • Ask HN: What's your experience with stored procedures-heavy systems?
    1 project | news.ycombinator.com | 18 Aug 2023
  • SQL based language for the SQL impaired?
    1 project | /r/SQL | 10 Jul 2023
  • Spring boot ili asp.net core?
    1 project | /r/programiranje | 1 Jul 2023
    Spring Boot, ili ako bi nesto vise lightweight u Javi Spark + jOOQ

HikariCP

Posts with mentions or reviews of HikariCP. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2025-01-29.
  • A Major Postgres Upgrade with Zero Downtime
    4 projects | news.ycombinator.com | 29 Jan 2025
    > are they using a connection pooler

    We use Hikari [1] an in-process connection pooler. We didn't opt for pgbouncer at al, because we didn't want to add the extra infra yet.

    > since what they did in code can be natively done with PgBouncer, PgCat, et al.

    Can you point me to a reference I could look at, about doing a major version upgrade with PgBouncer et al? My understanding that we would still need to write a script to switch masters, similar to what we wrote.

    > all the active connections

    The active connections we were referring too were websocket connections, we haven't had problems with PG connections.

    Right now the algorithm we use to find affected queries and notify websockets starts to falter when the number of active websocket connections get too high. We're working on improving it in the coming weeks. I'll update the essay to clarify.

    > I did feel for them here:

    Thank you! That part was definitely the most frustrating.

    [1] https://github.com/brettwooldridge/HikariCP

  • Kapper, a Fresh Look at ORMs for Kotlin and the JVM
    4 projects | dev.to | 22 Jan 2025
    // Create a DataSource object, for example using [HikariCP](https://github.com/brettwooldridge/HikariCP) // Kapper is un-opinionated about which pooler, if any you use. val dataSource = HikariDataSource().apply { jdbcUrl = "jdbc:PostgreSQL://localhost:5432/mydatabase" username = "username" password = "password" } // The Kapper API is exposed as an extension of the java.sql.Connection interface: dataSource.connection.use { connection -> // Do database stuff }
  • O que é o hikari pool?
    2 projects | dev.to | 6 Jan 2025
    No contexto específico estava sendo falado sobre o Hikari Connection Pool. Mas, se o Hikari é um Connection Pool, o que seria um "Pool"?
  • Melhorando o desempenho de aplicações Spring Boot - Parte II
    2 projects | dev.to | 27 Aug 2024
  • Java virtual threads caused a deadlock in TPC-C for PostgreSQL
    4 projects | news.ycombinator.com | 15 Jan 2024
    Looks like HikariCP is also awaiting fixes for this https://github.com/brettwooldridge/HikariCP/pull/2055
  • About Pool Sizing
    1 project | news.ycombinator.com | 5 Sep 2023
  • HikariCP maximumPoolSize based on AWS ECS number of tasks
    1 project | /r/SpringBoot | 21 Apr 2023
  • Writing to db
    5 projects | /r/Kotlin | 20 Feb 2023
    I have used hikari and exposed to do this in the past with postgres, although other dialects are supported.
  • A Tale of Two Connection Pools
    2 projects | dev.to | 13 Feb 2023
    I found one suggestion from the author of HikariCP on how to address this, which I implemented and it worked. However, there are additional classes involved, and it feels a little clunky and hard to follow.
  • Spring boot change password runtime
    1 project | /r/javahelp | 31 Dec 2022
    Not really, you can change some things in spring boot but doing so will typically trigger a refresh which is less reliable than restarting but still causes a large performance hit. You could probably do it with hikari if you really needed to but it's inadvisable to build your application around this mechanic.

What are some alternatives?

When comparing jOOQ and HikariCP you can also consider the following projects:

Querydsl - Unified Queries for Java

Vibur DBCP - Vibur DBCP - concurrent and dynamic JDBC connection pool

JDBI - The Jdbi library provides convenient, idiomatic access to relational databases in Java and other JVM technologies such as Kotlin, Clojure or Scala.

sql2o - sql2o is a small library, which makes it easy to convert the result of your sql-statements into objects. No resultset hacking required. Kind of like an orm, but without the sql-generation capabilities. Supports named parameters.

c3p0 - a mature, highly concurrent JDBC Connection pooling library, with support for caching and reuse of PreparedStatements.

InfluxDB – Built for High-Performance Time Series Workloads
InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured

Did you know that Java is
the 8th most popular programming language
based on number of references?