JDBI

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

JDBI Alternatives

Similar projects and alternatives to JDBI

  1. htmx

    643 JDBI VS htmx

    </> htmx - high power tools for HTML

  2. InfluxDB

    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.

    InfluxDB logo
  3. Prisma

    480 JDBI VS Prisma

    Next-generation ORM for Node.js & TypeScript | PostgreSQL, MySQL, MariaDB, SQL Server, SQLite, MongoDB and CockroachDB

  4. Spring Boot

    199 JDBI VS Spring Boot

    Spring Boot helps you to create Spring-powered, production-grade applications and services with absolute minimum fuss.

  5. sqlc

    182 JDBI VS sqlc

    Generate type-safe code from SQL

  6. TypeORM

    170 JDBI VS TypeORM

    ORM for TypeScript and JavaScript. Supports MySQL, PostgreSQL, MariaDB, SQLite, MS SQL Server, Oracle, SAP Hana, WebSQL databases. Works in NodeJS, Browser, Ionic, Cordova and Electron platforms.

  7. Quarkus

    144 JDBI VS Quarkus

    Quarkus: Supersonic Subatomic Java.

  8. SharpLab

    .NET language playground

  9. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  10. jOOQ

    99 JDBI VS jOOQ

    jOOQ is the best way to write SQL in Java

  11. slonik

    74 JDBI VS slonik

    A Node.js PostgreSQL client with runtime and build time type safety, and composable SQL.

  12. Micronaut

    56 JDBI VS Micronaut

    Micronaut Application Framework

  13. Vert.x

    49 JDBI VS Vert.x

    Vert.x is a tool-kit for building reactive applications on the JVM

  14. postgres

    44 JDBI VS postgres

    Postgres.js - The Fastest full featured PostgreSQL client for Node.js, Deno, Bun and CloudFlare (by porsager)

  15. Sequel

    41 JDBI VS Sequel

    Sequel: The Database Toolkit for Ruby

  16. website

    31 JDBI VS website

    Javalin website source code (by javalin)

  17. Spring Data JPA

    Simplifies the development of creating a JPA-based data access layer.

  18. Slick

    18 JDBI VS Slick

    Slick (Scala Language Integrated Connection Kit) is a modern database query and access library for Scala (by slick)

  19. Quill

    15 JDBI VS Quill

    Compile-time Language Integrated Queries for Scala

  20. Jooby

    13 JDBI VS Jooby

    The modular web framework for Java and Kotlin

  21. Permazen

    13 JDBI VS Permazen

    Language-Natural Persistence Layer for Java

  22. spring-data-relational

    Spring Data Relational. Home of Spring Data JDBC and Spring Data R2DBC.

  23. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better JDBI alternative or higher similarity.

JDBI discussion

Log in or Post with

JDBI reviews and mentions

Posts with mentions or reviews of JDBI. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-11-09.
  • JOOQ Is Not a Replacement for Hibernate. They Solve Different Problems
    1 project | dev.to | 11 Jan 2025
    Suppose we're developing an application that allows speakers to submit their talks to a conference (for simplicity, we'll only record the talk's title). Following the Transaction Script pattern, the method for submitting a talk might look like this (using JDBI for SQL):
  • Optimize Database Performance in Ruby on Rails and ActiveRecord
    2 projects | news.ycombinator.com | 9 Nov 2024
    _relational_ is the key word you're missing.

    ORMs map _objects_ to _relations_ (i.e. tables).

    "Unlike ORM frameworks, MyBatis does not map Java objects to database tables but Java methods to SQL statements." https://en.wikipedia.org/wiki/MyBatis

    "Jdbi is not an ORM. It is a convenience library to make Java database operations simpler and more pleasant to program than raw JDBC." https://jdbi.org/

    "While jOOQ is not a full fledged ORM (as in an object graph persistence framework), there is still some convenience available to avoid hand-writing boring SQL for every day CRUD. That's the UpdatableRecord API [which is only one part of it and you don't have to use it]" https://blog.jooq.org/how-to-use-jooqs-updatablerecord-for-c...

  • Permazen: Language-natural persistence to KV stores
    6 projects | news.ycombinator.com | 19 Sep 2023
    While this may work for greenfield applications, I don't see this working well for preexisting schemas. From their getting started page: "Database fields are automatically created for any abstract getter methods", which definitely scares me away since they seem to be relying on automatic field type conversions.

    I prefer to manage my schemas when I can and do type and DAO conversions via mapper classes in the very simple and elegant JDBI framework where you write SQL annotations above your DAO methods https://jdbi.org/#_declarative_api

    JDBI does wonders for wonky old schemas you've inherited, since joins etc work out of the box (just throw them in your annotations!) The annotations can also link to .SQL files for the big hairy queries.

    All these "do magic" frameworks (hibernate being one of the first) work in the simple cases but then fall apart whenever you need to do anything complex/not-prescribed. I end up having to dig into the internals of the framework to see what's going wrong which negates their whole value add.

  • Is ORM still an anti-pattern?
    15 projects | news.ycombinator.com | 27 Jun 2023
  • Sketch of a Post-ORM
    14 projects | news.ycombinator.com | 2 Jun 2023
    I found JDBi[1] to be a really nice balance between ORM and raw SQL. It gives me the flexibility I need but takes care of a lot of the boilerplate. It's almost like a third category.

    1. http://jdbi.org

  • Is it just me, or does the Spring Framework lead to hard-to-maintain code and confusion with annotations?
    7 projects | /r/java | 19 Apr 2023
  • Can someone tell me a good resource to learn and practice JDBC in java?
    1 project | /r/javahelp | 30 Mar 2023
    You could use something like jdbi or mybatis. It's not as ugly as raw jdbc and easier to use without all of the gunk from an ORM like hibernate.
  • Which JVM Language Would You Choose for a New Server-Side Project?
    2 projects | /r/Kotlin | 27 Mar 2023
    We use JDBI. Very simple and lightweight. It uses an object mapper not a full fledged ORM.
  • Why people don't like Java?
    5 projects | /r/programming | 27 Feb 2023
    Alternatively there are... hybrid solutions like Kotlin's https://github.com/JetBrains/Exposed or https://jdbi.org/ that don't quite... do all the heavy lifting for querying but allow you to sorta stitch queries together manually.
  • Top 5 Server-Side Frameworks for Kotlin in 2022: Micronaut
    8 projects | dev.to | 15 Jan 2023
    As seems that Micronaut does not include anything similar by default, we use JDBI and that SQL to retrieve one random greeting from the greetings table.
  • A note from our sponsor - InfluxDB
    www.influxdata.com | 14 May 2025
    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. Learn more →

Stats

Basic JDBI repo stats
29
2,045
8.8
8 days ago

jdbi/jdbi is an open source project licensed under Apache 2.0 license which is not an OSI approved license.

The primary programming language of JDBI is Java.


Sponsored
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

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