Added default value for connectionProperties.
@@ -51,7 +51,8 @@ public interface DataSourceConfigureConstants {
boolean DEFAULT_REMOVEABANDONED = true;
boolean DEFAULT_LOGABANDONED = false;
int DEFAULT_MINEVICTABLEIDLETIMEMILLIS = 30000;
- String DEFAULT_CONNECTIONPROPERTIES = null;
+ String DEFAULT_CONNECTIONPROPERTIES =
+ "sendTimeAsDateTime=false;sendStringParametersAsUnicode=false;rewriteBatchedStatements=true;allowMultiQueries=true;useUnicode=true;characterEncoding=UTF-8";
boolean DEFAULT_JMXENABLED = true;
String DEFAULT_JDBCINTERCEPTORS = "org.apache.tomcat.jdbc.pool.interceptor.ConnectionState;"
+ "org.apache.tomcat.jdbc.pool.interceptor.StatementFinalizer";
