dataSource.setPassword(dataSource.getPassword());
dataSource.setPassword("xx");
}
public void test_change_connectProperties() throws Exception {
DruidPooledConnection conn = dataSource.getConnection().unwrap(DruidPooledConnection.class);
conn.close();
dataSource.setConnectProperties(new Properties());
}