第2.3.2章 WEB系统最佳实践属性配置之jdbc.properties
2016-10-24 19:35
531 查看
jdbc.properties定义的mysql的数据库连接,以及阿里druid连接池的配置.
第2.1.3章 WEB系统最佳实践Spring文件配置之spring-dao.xml中spring-dao.xml即是引用的此属性文件
第2.1.3章 WEB系统最佳实践Spring文件配置之spring-dao.xml中spring-dao.xml即是引用的此属性文件
jdbc.driver=com.mysql.jdbc.Driver jdbc.url=jdbc:mysql://localhost:3306/monitor_dev?useUnicode=true&characterEncoding=utf-8 jdbc.username=root jdbc.password=YMgn/Ig8q7BzZtu21V/naaF7MQh5VjXv9MVQBUvbSC9hX5WBX7LRc2M59BSC5tbXnm8Fpfwh/29QGw2OuXDrOw== #druid connection pool settings druid.initialSize=10 druid.minIdle=10 druid.maxActive=50 druid.maxWait=60000 druid.timeBetweenEvictionRunsMillis=60000 druid.minEvictableIdleTimeMillis=300000 druid.validationQuery=SELECT 'x' druid.testWhileIdle=true druid.testOnBorrow=false druid.testOnReturn=false druid.poolPreparedStatements=true druid.maxPoolPreparedStatementPerConnectionSize=20 druid.filters=config druid.connectionProperties=config.decrypt=true;config.decrypt.key=MFwwDQYJKoZIhvcNAQEBBQADSwAwSAJBAIj/7nxtV/NeylTwuhw7JxYhuaCg+Bmo1hZXeAiMEKDSV8O7X98W4FWLOJHcbgEKJpAJFHlpfneOORfE9Do6qQ0CAwEAAQ==
相关文章推荐
- 第2.3.3章 WEB系统最佳实践属性配置之shiro.properties
- 第2.3章 WEB系统最佳实践属性配置
- 第2.3.1章 WEB系统最佳实践属性配置之ehcache.xml
- 第2.1章 WEB系统最佳实践Spring文件配置
- 第2.1.6章 WEB系统最佳实践Spring文件配置之spring-hessian-client.xml
- 第2.1.8章 WEB系统最佳实践Spring文件配置之spring-email.xml
- 第2.1.4章 WEB系统最佳实践Spring文件配置之spring-hessian-server.xml
- 第2.1.5章 WEB系统最佳实践Spring文件配置之spring-mvc.xml
- 第2.1.9章 WEB系统最佳实践Spring文件配置之spring-dubbo.xml
- 第2.1.7章 WEB系统最佳实践Spring文件配置之spring-shiro.xml
- 第2.1.3章 WEB系统最佳实践Spring文件配置之spring-dao.xml
- 第2.1.2章 WEB系统最佳实践Spring文件配置之spring-common.xml
- 第2.1.10章 WEB系统最佳实践Spring文件配置多数据源
- 第2.1.1章 WEB系统最佳实践Spring文件配置之spring-cache.xml
- Web前端开发最佳实践(12):JavaScript代码中有大量写死的配置数据?这些数据难以维护,你需要合理组织这些数据
- 第3.1.2章 WEB系统最佳实践 js控件之requirejs的使用
- 第3.1.4章 WEB系统最佳实践 js控件之bootstrap-suggest-plugin
- 第3.1.1章 WEB系统最佳实践 js控件之slimScroll的使用
- 第3.1.7章 WEB系统最佳实践 js控件之bootstrap switch
- web工程中普通 java 类使用 properties 配置文件中属性