talira

Compare

Hibernate ORMSlickMyBatisExposed
What it isIdiomatic persistence for Java and relational databasesFunctional Relational Mapping for ScalaSQL mapper persistence framework for JavaThe SQL library for Kotlin
KindOpen sourceOpen sourceOpen sourceOpen source
Trust0.690.630.730.70
Stars64912665204289304
Last commit2026-11-262026-11-232026-11-282026-11-24
LicenceApache-2.0BSD-2-ClauseApache-2.0Apache-2.0
PricingFree and open sourceFree and open sourceFree and open sourceFree and open source
Free tierYesYesYesYes
Self-hostable————
Ways to run it————
SOC 2————
HIPAA————
SSO————
API————
Plugins—Yes——
MCP server————
CompanyHibernate—The MyBatis TeamJetBrains
Features
  • implements Jakarta Persistence (JPA) beside its native API
  • Hibernate Query Language (HQL), validated at compile time by Hibernate Processor
  • flexible fetching strategies and a two-level cache
  • optimistic locking with automatic versioning, or pessimistic locks
  • temporal entities and audit logging
  • native SQL queries in the database dialect
  • query API modeled on Scala's collections
  • queries checked at compile time
  • composable actions, queries and row expressions
  • schema code generation from an existing database
  • plain SQL queries when needed
  • query compiler targeting PostgreSQL, MySQL, SQL Server, Oracle, DB2, SQLite, H2, HSQLDB and Derby
  • database metadata introspection API
  • Slick TestKit for database plugins
  • All 9 features
  • SQL in XML mapper files or annotations
  • dynamic SQL for conditional queries
  • stored procedure support
  • advanced result mappings to POJOs, Maps and primitives
  • removes most JDBC boilerplate
  • Spring Boot starter (mybatis-spring-boot-starter) with auto-configuration
  • typesafe SQL DSL
  • lightweight DAO API
  • JDBC and R2DBC drivers
  • H2, MariaDB, MySQL, Oracle, PostgreSQL, Redshift, SQL Server and SQLite
  • schema migration utilities
  • encrypted and hashed column types
  • JSON and JSONB column types
  • Spring Boot 3 and 4 starters
Limitations
        • Requires Kotlin 2.2 or newer
        • The DAO API over R2DBC is an experimental preview whose API may change between releases