Paste your MyBatis mapper
Drop in a MyBatis mapper XML file with result maps, statements, and dynamic SQL
13px
Start typing or paste your MyBatis mapper XML here
e.g. <mapper namespace="…"> with <select>, <insert>, or <resultMap> blocks
Login required to convert
Powered by HexaCluster
HexaRocket
The true any-to-any
Need enterprise-grade migration? Get zero-downtime and continuous data replication.
Explore HexaRocketTarget
PostgreSQL-ready mapper XML
13px
Convert MyBatis Mappers to PostgreSQL
100% deterministic · No AI · No hallucinations
A free playground that rewrites MyBatis mapper XML — result maps, statements, dynamic SQL — into clean, PostgreSQL-ready mappers. Powered by a parser, not an LLM, so the same input always produces the same output.
- 1Paste your MyBatis mapper XML into the left editor.
- 2Hit "Convert" to translate your mapper in seconds.
- 3Review the PostgreSQL-ready mapper here and copy it into your project.
Pro tip: Start with a single mapper to see how MyBatis2Pg handles your statements, then scale up.