ORM-running MCP server catches coding agents confidently wrong on N+1 fixes

deusaquilus · reddit · 2026-09-02

A developer built an MCP server that executes JPA mappings against real ORMs (Hibernate, EclipseLink) in a sandboxed H2 database, returning actual SQL statement counts. A coding agent confidently recommended the textbook JOIN FETCH fix for an N+1 in Shopizer, predicting 1 statement — it stayed at 12.

Original post →

More from coding & agent

coding & agent channel →