Based on our record, JDBI seems to be a lot more popular than MyBATIS. While we know about 25 links to JDBI, we've tracked only 2 mentions of MyBATIS. 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.
Other tools you can look at for the data layer are MyBatis (https://mybatis.org/mybatis-3/) and JOOQ (https://www.jooq.org) they put you a little closer to the database than JPA/Hibernate. Source: about 3 years ago
While its not as well known, have you ever glanced at mybatis? https://mybatis.org/mybatis-3/. Source: over 3 years ago
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):. - Source: dev.to / 5 months ago
_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... - Source: Hacker News / 7 months ago
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 / over 1 year ago
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 / over 1 year ago
> 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 / almost 2 years ago
Hibernate - Hibernate an open source Java persistence framework project.
Postgres.js - Postgres.js - The Fastest full featured PostgreSQL client for Node.js - porsager/postgres
Entity Framework - See Comparison of Entity Framework vs NHibernate.
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.
Dapper - Dapper is a user-friendly object mapper for the .NET framework.
Sequelize - Provides access to a MySQL database by mapping database entries to objects and vice-versa.