Beike Product & Technology
Mar 30, 2018 · Backend Development
Why Does #{array.length} Trigger a ReflectionException in MyBatis?
This article dissects the root cause of the ReflectionException thrown when using #{array.length} in MyBatis XML, explains how MyBatis parses XML tags, OGNL expressions, and parameter placeholders, and presents three practical solutions to avoid the error.
BackendJavaMyBatis
0 likes · 14 min read
