MyBatis

A first class persistence framework with support for custom SQL, stored procedures and advanced mappings

Also known as
mybatis

What is MyBatis?

MyBatis is a persistence framework that eliminates JDBC boilerplate and manual parameter/result handling. It supports custom SQL, stored procedures, and maps primitives, Map interfaces, and POJOs to database records via XML or Annotations.

Independently observed

MyBatis pricing

We don't have MyBatis's full plan breakdown yet (its pricing page resisted automated reading). Here's what we could confirm. Always check live pricing for exact numbers.

What MyBatis does

The capabilities that matter for orm & database tools, normalised so it lines up with every alternative. “-” means we haven't confirmed it, not that it's missing.

Core
Type-safe queries
-
Schema migrations
-
Relations / joins API
-
Languages
Java
Modelling
Schema-first modelling
-
Flexibility
Raw SQL escape hatch
Portability
Multiple database backends
-
Ops
Connection pooling
-
DX
Data browser / studio
-
Independently observed

MyBatis alternatives

Other orm & database tools we track, ranked by the same independent score.

Independent · unbought · dated

The Vioscale score: one lens on the evidence

Not user reviews and not a paid placement: a confidence-weighted blend of the independent signals below (adoption, activity, security posture, and more), which you can sort and re-weight yourself. Vendors can correct their listing but can never move their rank, and stars are weighted low as a vanity metric. It is one way to read the evidence for MyBatis, not the verdict.

Balanced composite 53 / 100
low · 21%
Signal contributions to the composite score
SignalScoreWeightContributionEvidence
Github Activity5418.00977.1
Release Cadence7710.00772.2
Capabilities2916.00462.5
Github Stars815.00406.5
Integrations08.000.0-
Security Posture013.000.0-
Package Downloads026.000.0-
Stackoverflow Activity012.000.0-

Computed . Re-weight it by intent, or see the full method.

All data & sourcesshow ↓

Every value we hold, with its source, retrieval date, and confidence. This is the evidence behind the score: don't trust it, verify it.

Activity

AttributeValueEvidence
Commits last 30d52mediumsource · 2026-08-03 · 65%

Adoption

AttributeValueEvidence
Github stars20,427highsource · 2026-08-03 · 90%

Features

AttributeValueEvidence
Capabilities{"raw_sql":true,"languages":"Java"}mediumsource · 2026-08-03 · 60%

Language

AttributeValueEvidence
PrimaryJavahighsource · 2026-08-03 · 90%

License

AttributeValueEvidence
SpdxApache-2.0highsource · 2026-08-03 · 95%

Pricing

AttributeValueEvidence
Free tierYesmediumsource · 2026-08-03 · 60%
Modelopen_sourcemediumsource · 2026-08-03 · 60%
Price levelfreemediumsource · 2026-08-03 · 60%

Release

AttributeValueEvidence
Cadence days41mediumsource · 2026-08-03 · 70%

Reliability

AttributeValueEvidence
Status pageYesmediumsource · 2026-08-03 · 60%