Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

disable mysql jdbc driver resultset metadata caching because of bug h…

  • Loading branch information...
commit 2909d7eb11058f77ea625b829091c7acb14eeeff 1 parent a83229d
@lhotari lhotari authored
Showing with 5 additions and 1 deletion.
  1. +5 −1 grails-app/conf/mysql-connection.properties
View
6 grails-app/conf/mysql-connection.properties
@@ -25,7 +25,11 @@ relaxAutoCommit=true
# metadata caching
cacheServerConfiguration=true
-cacheResultSetMetadata=true
+
+# disable resultset metadata caching because of bug https://bugs.mysql.com/bug.php?id=41484
+# NPE in com.mysql.jdbc.ResultSetImpl.findColumn(ResultSetImpl.java:1111)
+cacheResultSetMetadata=false
+
metadataCacheSize=100
# enable MySQL query cache - server prep stmts wont use caching
Please sign in to comment.
Something went wrong with that request. Please try again.