Hopefully Diana will start to inject SQL language into relevant Spring JDBC APIs soon. (that's what
IDEADEV-25928 and IDEA-17877 are about).
Once that happens, a small extension of the feature would be to add similar support for
Spring JDBC API methods that support named parameters
. This feature of Spring JDBC allows to use named parameters instead of the typical "
?" JDBC syntax.
I'm not asking for parameter resolving and/or completion, which seems impossible anyway from looking at
NamedParameterJdbcTemplate API usage pattern.
The only thing this issue is about is to for IDEA not to report usages of such parameters as a syntax error, when using in
NamedParameterJdbcTemplate API context.