Software Alternatives & Reviews

Doctrine ORM VS JDBI

Compare Doctrine ORM VS JDBI and see what are their differences

Doctrine ORM logo Doctrine ORM

PHP object relational mapper (ORM) that sits on top of a powerful database abstraction layer (DBAL).

JDBI logo JDBI

See this.
  • Doctrine ORM Landing page
    Landing page //
    2022-04-20
  • JDBI Landing page
    Landing page //
    2023-08-02

Doctrine ORM videos

Create Doctrine ORM Entity and pagination in Expressive - 005

More videos:

  • Review - Marco Pivetta: Doctrine ORM Good Practices and Tricks
  • Review - Doctrine ORM

JDBI videos

jdbi

More videos:

  • Review - Dealing with a heckler | JDBI INVICTUS ‘19

Category Popularity

0-100% (relative to Doctrine ORM and JDBI)
Web Frameworks
46 46%
54% 54
Backend Development
45 45%
55% 55
Databases
62 62%
38% 38
Developer Tools
46 46%
54% 54

User comments

Share your experience with using Doctrine ORM and JDBI. For example, how are they different and which one is better?
Log in or Post with

Social recommendations and mentions

Based on our record, JDBI seems to be more popular. It has been mentiond 23 times since March 2021. We are tracking product recommendations and mentions on various public social media platforms and blogs. They can help you identify which product is more popular and what people think of it.

Doctrine ORM mentions (0)

We have not tracked any mentions of Doctrine ORM yet. Tracking of Doctrine ORM recommendations started around Mar 2021.

JDBI mentions (23)

  • Permazen: Language-natural persistence to KV stores
    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... - Source: Hacker News / 7 months ago
  • Permazen: Language-natural persistence to KV stores
    Someone else mentioned jOOQ, but personally I also rather enjoyed JDBI3: https://jdbi.org/#_introduction_to_jdbi_3 It addresses the issues with using JDBC directly (not nice ergonomics), while still letting you work with SQL directly without too many abstractions in the middle. In combination with Dropwizard, it was pretty pleasant: https://www.dropwizard.io/en/stable/manual/jdbi3.html Other than that, I actually... - Source: Hacker News / 7 months ago
  • Is ORM still an anti-pattern?
    > I've been doing ORM on Java since Hibernate was new, and it has always sucked. Have you ever looked at something like myBatis? In particular, the XML mappers: https://mybatis.org/mybatis-3/dynamic-sql.html Looking back, I actually quite liked it - you had conditionals and ability to build queries dynamically (including snippets, doing loops etc.), while still writing mostly SQL with a bit of XML DSL around it,... - Source: Hacker News / 10 months ago
  • Sketch of a Post-ORM
    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. - Source: Hacker News / 11 months ago
  • Can someone tell me a good resource to learn and practice JDBC in java?
    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. Source: about 1 year ago
View more

What are some alternatives?

When comparing Doctrine ORM and JDBI, you can also consider the following products

Eloquent ORM - [READ ONLY] Subtree split of the Illuminate Database component (see laravel/framework) - illuminate/database

Hibernate - Hibernate an open source Java persistence framework project.

Hibernate ORM - Hibernate team account. Hibernate is a suite of open source projects around domain models. The flagship project is Hibernate ORM, the Object Relational Mapper.

Postgres.js - Postgres.js - The Fastest full featured PostgreSQL client for Node.js - porsager/postgres

Nette - Home Page. Let's create the home page displaying your recent posts. Before we start, you should know at least some basics about Model-View-Presenter design pattern (similar to MVC ):. Model – data manipulation layer.

RedBeanPHP - Backend Development, Databases, and ORMs