MyBatis

SQL mapping framework for Java applications

Also known as
mybatis

What is MyBatis?

A Java framework that connects database queries and stored procedures to application objects via XML or annotation configuration, providing a straightforward alternative to comprehensive object-relational mapping solutions.

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

Security & compliance

Known vulnerabilities: 1 (0 in the last 12 months), max severity HIGH sourcea count reflects scale & disclosure, not quality

MyBatis FAQ

Common questions about MyBatis, answered from independent, dated evidence.

What is MyBatis?

MyBatis is a Java framework that simplifies interaction with relational databases by allowing developers to write custom SQL and stored procedures while automatically mapping query results to Java objects, reducing boilerplate JDBC code. It is indexed under ORM & Database Tools.

Source: https://mybatis.org/mybatis-3

Is MyBatis free to use?

MyBatis is open source, so it can be self-hosted and used at no licence cost. It is released under the Apache-2.0 licence. Pricing changes often, so verify at source before relying on it.

Source: https://mybatis.org/mybatis-3

Is MyBatis open source?

Yes. MyBatis is published under the Apache-2.0 licence, a permissive licence that generally allows commercial use and modification. Licence terms can change between releases, so verify against the repository for the version you intend to use.

Source: https://github.com/mybatis/mybatis-3

MyBatis alternatives

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

All MyBatis alternatives, ranked →

Compare MyBatis

Side by side against other orm & database tools, attribute by attribute, with a source on every value.

Independent · unbought · dated

The vioscaleAI 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 55 / 100
low · 42%
Signal contributions to the composite score
SignalScoreWeightContributionEvidence
Dependent projects820.086.6
Development activity430.125.1
Capabilities580.084.8
Security score670.053.6
Stars810.032.7
Release cadence380.072.5
Integrations00.050.0-
Security posture00.090.0-
Package downloads00.170.0-
Developer Q&A activity00.080.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 30d22mediumsource · 2026-09-10 · 65%

Adoption

AttributeValueEvidence
Github stars20,441highsource · 2026-09-10 · 90%
Dependent repos87,034highsource · 2026-09-10 · 85%

Content

AttributeValueEvidence
Faq3 itemsmediumsource · 2026-09-10 · 72%

Features

AttributeValueEvidence
CapabilitiesRaw sql: Yes · Multi db: Yes · Languages: Java · Relations: Yesmediumsource · 2026-09-14 · 60%

Language

AttributeValueEvidence
PrimaryJavahighsource · 2026-09-10 · 90%

License

AttributeValueEvidence
SpdxApache-2.0highsource · 2026-09-10 · 95%

Pricing

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

Release

AttributeValueEvidence
Cadence days112mediumsource · 2026-09-10 · 70%
History20 itemsmediumsource · 2026-09-10 · 70%

Reliability

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

Security

AttributeValueEvidence
Scorecard6.7highsource · 2026-09-10 · 90%
VulnerabilitiesCount: 1 · Source: https://advisories.ecosyste.ms/api/v1/advisories?ecosystem=maven&package_name=org.mybatis%3Amybatis&per_page=100 · Last 12m: 0 · Max severity: HIGHhighsource · 2026-09-10 · 90%
Still deciding?

Is MyBatis the right choice for you?

Tell us the job, the constraints and what you weigh most, and we will rank MyBatis against the rest of the orm & database tools we index, using the same dated evidence weighted your way.

Free to run, no account needed to start. How the evaluation works

For the makers of MyBatis

Is this your product?

This profile was built from public sources without asking you. You can take the badge below and use it anywhere, and you can claim the profile to correct anything we got wrong. Both are free, and neither moves MyBatis up or down: nobody can buy rank here, including you.

Take the badge

Live, always current, and free to use on your own site. It shows MyBatis's independent score and links back to this profile.

MyBatis, verified on vioscaleAI
HTML
<a href="https://www.vioscale.ai/software/mybatis" target="_blank" rel="noopener">
  <img src="https://www.vioscale.ai/badge/software/mybatis.svg" alt="MyBatis, verified on vioscaleAI" width="330" height="76" loading="lazy" />
</a>
Markdown, for a README →
Markdown
[![MyBatis, verified on vioscaleAI](https://www.vioscale.ai/badge/software/mybatis.svg)](https://www.vioscale.ai/software/mybatis)

Claim the profile

Verify you control the domain and you can correct the facts, add the sources we should be reading, and see how AI assistants are describing MyBatis. Free, and it does not change the score.

  • Correct anything wrong, with evidence
  • Point our crawler at the pages that matter
  • See which AI systems are reading this profile
Claim MyBatis

Not the owner? How vendor profiles work