Browse Source

Get rid of unnecessary SQL exceptions thrown in Mysql jdbc driver
- enabling holdResultsOpenOverStatementClose helps
- see com.mysql.jdbc.PreparedStatement:2265 (5.1.27 version source)

Lari Hotari 11 years ago
parent
commit
00dc1ba115
1 changed files with 3 additions and 0 deletions
  1. 3 0
      grails/hello/grails-app/conf/mysql-connection.properties

+ 3 - 0
grails/hello/grails-app/conf/mysql-connection.properties

@@ -7,6 +7,9 @@ zeroDateTimeBehavior=convertToNull
 # disable unicode handling
 # disable unicode handling
 useUnicode=false
 useUnicode=false
 
 
+# Get rid of SQL exceptions thrown in Mysql jdbc driver
+holdResultsOpenOverStatementClose=true
+
 # charset
 # charset
 #useUnicode=true
 #useUnicode=true
 #characterEncoding=Cp1252
 #characterEncoding=Cp1252