Software Alternatives & Reviews

JDBI VS Postgres.js

Compare JDBI VS Postgres.js and see what are their differences

JDBI logo JDBI

See this.

Postgres.js logo Postgres.js

Postgres.js - The Fastest full featured PostgreSQL client for Node.js - porsager/postgres
  • JDBI Landing page
    Landing page //
    2023-08-02
  • Postgres.js Landing page
    Landing page //
    2023-08-29

JDBI videos

jdbi

More videos:

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

Postgres.js videos

No Postgres.js videos yet. You could help us improve this page by suggesting one.

+ Add video

Category Popularity

0-100% (relative to JDBI and Postgres.js)
Backend Development
100 100%
0% 0
Developer Tools
36 36%
64% 64
Web Frameworks
71 71%
29% 29
Databases
100 100%
0% 0

User comments

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

Social recommendations and mentions

JDBI might be a bit more popular than Postgres.js. We know about 23 links to it since March 2021 and only 20 links to Postgres.js. 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.

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 / 8 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 / 8 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

Postgres.js mentions (20)

  • Neon Is Generally Available: Serverless Postgres
    I want to use this as a chance to bring attention to a GitHub issue that I think would help reduce friction for Neon: https://github.com/neondatabase/neon/issues/4989. Having run a local dev environment connected to Neon and tests connected to Neon got in our way of adoption. We'd prefer to develop and run tests against a regular Postgres localhost database. To the PMs of Neon, put yourself in the shoes of a new... - Source: Hacker News / 17 days ago
  • Drizzle is just as unready for prime-time as Prisma, what else is there?
    I'd push you to consider using postgres, slonik or similar for database queries. With these libraries, you just write SQL, but they perform input sanitization for you. So you can safely write:. Source: 5 months ago
  • We migrated to SQL. Our biggest learning? Don't use Prisma ORM
    There's also https://kysely.dev/ but personally I handwrite my queries with https://github.com/porsager/postgres for flexibility and performance most orms use node-pg lib which has shit performance. - Source: Hacker News / 7 months ago
  • Relational is more than SQL
    When viewed as a DSL for set theory, views, CTEs, set-returning functions, et al are indeed proper first-class query abstractions. When viewed through the lens of general purpose imperative or functional programming languages, it's easy to see how it can be seen as falling short. I'll admit much of the tooling and driver APIs leave a lot to be desired. Some tools do make good efforts though such as nested... - Source: Hacker News / 8 months ago
  • Is ORM still an anti-pattern?
    Demonstrate how easily and accidentally one can make an SQL injection with these: https://github.com/porsager/postgres. - Source: Hacker News / 10 months ago
View more

What are some alternatives?

When comparing JDBI and Postgres.js, you can also consider the following products

Hibernate - Hibernate an open source Java persistence framework project.

SQLPage - Build SQL-only websites - Build full web applications using just SQL queries

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.

Slick - A jquery plugin for creating slideshows and carousels into your webpage.

Prisma GraphQL API - Prisma helps modern applications access and manipulate data through a unified data layer

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