Revise documentation notes on getParameterType performance issues

See gh-25679
This commit is contained in:
Juergen Hoeller
2020-09-05 13:55:26 +02:00
parent 33c031df4f
commit 8d743d9946
2 changed files with 7 additions and 8 deletions

View File

@@ -3379,7 +3379,7 @@ While this usually works well, there is a potential for issues, e.g. with Map-co
case which may be expensive with your JDBC driver. Please make sure to use a recent driver
version, and consider setting the "spring.jdbc.getParameterType.ignore" property to "true"
(as a JVM system property or in a `spring.properties` file in the root of your classpath)
if you encounter a performance issue, e.g. as reported on Oracle 12c (SPR-16139).
if you encounter a performance issue (as reported on Oracle 12c, JBoss and PostgreSQL).
Alternatively, simply consider specifying the corresponding JDBC types explicitly:
either via a 'BatchPreparedStatementSetter' as shown above, or via an explicit type