这篇文章说明了如何通过Maven配置Spring依赖项。最新的Spring版本可以在Maven Central上找到。 Maven中的Spring基本依赖关系 Spring的设计是高度模块化的 – 使用Spr…
[Spring Security 5.2.0 翻译] 8 Architecture and Implementation
8 Architecture and Implementation Once you are familiar with setting up and running some namespace-configurati…
一起来读Spring源码吧(四)循环依赖踩坑笔记
源起 在开发过程中,遇到需要把方法调用改为异步的情况,本来以为简单得加个@Asyn在方法上就行了,没想到项目启动的时候报了如下的错误: Caused by: org.springframework.beans.facto…
Spring Cloud 参考文档(Spring Cloud Config Client)
Spring Cloud Config Client Spring Boot应用程序可以立即利用Spring Config Server(或应用程序开发人员提供的其他外部属性源),它还提取了一些与Environment变…
Spring Cloud 参考文档(外部配置:Archaius)
外部配置:Archaius Archaius是Netflix客户端配置库,它是所有Netflix OSS组件用于配置的库。 Archaius是Apache Commons Configuration项目的扩展,它允许通过…
springboot2.x文件上传
pom包的配置 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-bo…
linux安装redis
cd /usr/local yum install gcc wget http://download.redis.io/releases/redis-5.0.4.tar.gz tar xzf redis-5.0.4.ta…
MySQL外键设置中的的 Cascade、NO ACTION、Restrict、SET NULL
1.几种模式 . cascade方式 在父表上update/delete记录时,同步update/delete掉子表的匹配记录 . set null方式 在父表上update/delete记录时,将子表上匹配记录的列设为…
可定制的 elasticsearch 数据导入工具:mysql_2_elasticsearch
最近为了es导库的问题,费了一些周折。于是乎做了一个小工具(用过npm的一些jdbc的导库工具,感觉还不够好用),这里抛砖引玉,自荐一下下,欢迎同道兄弟吐槽和参与,我会不定时的更新这个扩展。 A customizable…
Value '0000-00-00 00:00:00' can not be represented as Timestamp
问题: 代码中查询MySQL的结果集时报错,提示Value ‘0000-00-00 00:00:00’ can not be represented as java.sql.Timestamp…
MySQL Community Server 5.7.18 deb安装以及实现主从复制
1.从oracle官网下载mysql安装包。 mysql-server_5.7.18-1ubuntu16.04_amd64.deb-bundle.tar 2.解压缩安装包。 tar -xf mysql-server_5.…
高性能MySQL读书笔记 (二)
1. 基准测试 1.1 应用 验证系统的一些假设重现系统异常测试系统当前的运行情况模拟更高的负载规划业务增长测试应用适应可变环境的能力测试不同硬件,软件和操作系统的配置 1.2 策略 针对整个系统的整体测试, 集成式单独…