Revise documentation notes on getParameterType performance issues

See gh-25679

(cherry picked from commit 939c76c4a5)
This commit is contained in:
Juergen Hoeller
2020-09-05 13:00:06 +02:00
parent c5d3bcfb14
commit 400b39da3f
2 changed files with 7 additions and 8 deletions

View File

@@ -3498,7 +3498,7 @@ While this usually works well, there is a potential for issues (for example, wit
case, which can be expensive with your JDBC driver. You should 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 -- for example, as reported on Oracle 12c (SPR-16139).
if you encounter a performance issue (as reported on Oracle 12c, JBoss and PostgreSQL).
Alternatively, you might consider specifying the corresponding JDBC types explicitly,
either through a 'BatchPreparedStatementSetter' (as shown earlier), through an explicit type