Do LLMs understand backend data-layer semantics? A controlled study of cross-endpoint issues