Skip to main content

codemap-mybatis

MyBatis Mapper XML indexer plugin for CodeMap.

What it does

Reads MyBatis *Mapper.xml files and produces:

  • sql_mapping symbols — one per <select|insert|update|delete> statement
  • table symbols — one per referenced database table
  • accesses_table edges — sql_mapping → table, with confidence graded by SQL complexity (static SQL → high; contains <if>/<foreach>medium; uses ${} substitution → low)
  • maps_to edges — java_method → sql_mapping, linking the Java Mapper interface methods (produced by codemap-java) to their backing XML statements via (namespace, stmt_id)

Scope

DDL (CREATE TABLE) lives in codemap-sql; this plugin handles the DML side (FROM/JOIN/INSERT/UPDATE/DELETE) directly because it needs to grade confidence by MyBatis dynamic-SQL constructs.

Dynamic SQL (<if>, <foreach>, <where>, <set>, <choose>, <trim>) is extracted statically — the runtime-only branches are accepted as medium-confidence edges. ${} raw substitution (e.g. variable table names) drops confidence to low.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

codemap_mybatis-0.4.10.tar.gz (8.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

codemap_mybatis-0.4.10-py3-none-any.whl (7.7 kB view details)

Uploaded Python 3

File details

Details for the file codemap_mybatis-0.4.10.tar.gz.

File metadata

  • Download URL: codemap_mybatis-0.4.10.tar.gz
  • Upload date:
  • Size: 8.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for codemap_mybatis-0.4.10.tar.gz
Algorithm Hash digest
SHA256 6bbfd8818511fba1d5a84e97f5453ee8b45faab97a0d659189ecc42d9def29ac
MD5 b7c989248ddecc7d66d99494d3f23608
BLAKE2b-256 a109c788cfdec5a79b7585c07fca7b6664604d3cac6e9ee9bd7cc89e2350870b

See more details on using hashes here.

Provenance

The following attestation bundles were made for codemap_mybatis-0.4.10.tar.gz:

Publisher: publish.yml on qxbyte/codemap

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file codemap_mybatis-0.4.10-py3-none-any.whl.

File metadata

File hashes

Hashes for codemap_mybatis-0.4.10-py3-none-any.whl
Algorithm Hash digest
SHA256 adfaa71aea85d18671effaa7ff81bbdf9fbaa9fea744f385a4a053fdcf099e6a
MD5 6f5d2b1d34994ea43262ef2deebcf015
BLAKE2b-256 302fb3e673c8c7c9eb55469bf7178bc0daf7ea2ebf8183683e5c119cdc4849be

See more details on using hashes here.

Provenance

The following attestation bundles were made for codemap_mybatis-0.4.10-py3-none-any.whl:

Publisher: publish.yml on qxbyte/codemap

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

0.4.10 This release

2 files

0.4.6

2 files

0.4.5

2 files

0.4.4

2 files

0.4.3

2 files

0.4.2

2 files

0.4.1

2 files

0.4.0

2 files

0.3.6

2 files

0.3.5

2 files

0.3.4

2 files

0.3.3

2 files

0.3.2

2 files

0.3.1

2 files

0.3.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page