Commit fe127bd3 authored by Quxl's avatar Quxl

x

parent de0a0482
...@@ -73,7 +73,7 @@ public class SqlTestController { ...@@ -73,7 +73,7 @@ public class SqlTestController {
dataSource.setTestOnReturn(false); dataSource.setTestOnReturn(false);
dataSource.setPoolPreparedStatements(true); dataSource.setPoolPreparedStatements(true);
dataSource.setMaxPoolPreparedStatementPerConnectionSize(20); dataSource.setMaxPoolPreparedStatementPerConnectionSize(20);
dataSource.setQueryTimeout(10); dataSource.setQueryTimeout(60);
dataSource.init(); dataSource.init();
JdbcTemplate jdbcTemplate = new JdbcTemplate(); JdbcTemplate jdbcTemplate = new JdbcTemplate();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment