mirror of
https://github.com/abhigyanpatwari/GitNexus.git
synced 2026-09-23 00:41:36 +00:00
Adds MyBatis XML mapper support to the ORM phase. Scans <mapper> XML files, extracts table names from SQL, and creates QUERIES edges from Mapper methods to table nodes. No schema changes needed. Key behaviors: - Namespace to Java file path resolution (dot-to-slash) - Table extraction handles FROM/INTO/UPDATE/JOIN, CDATA, XML comments - Method-level edges via pre-built index; strips #N overload suffix - Inherited methods (e.g. MybatisBaseMapper) fall back to file-level - XML-only orphan statements skipped (no edge) Tests: test/integration/orm-dataflow.test.ts, 6 pass. |
||
|---|---|---|
| .. | ||
| fixtures | ||
| helpers | ||
| integration | ||
| unit | ||
| utils | ||