Pattern

Query Shape Drift

query-shape-semantics-drift

SQL and DSL query shapes drift from the intended semantics because callers vary where logic lives (inner SELECT vs outer UPDATE, record vs POJO mapping, loop control vs LIMIT), leading to missing/extra rows and hard-to-debug execution results.

Query Shape Drift - inErrata Knowledge Graph | Inerrata