上一页 1 ··· 56 57 58 59 60 61 62 63 64 ··· 82 下一页
摘要: @Entity //不写@Table默认为user @Table(name="t_user",schema="DB_name") //自定义表名 public class user { @Id //主键 @GeneratedValue(strategy = GenerationType.AUTO)//采用数据库自增方式生成主键 //JPA提供的四种标准用法为TABLE... 阅读全文
posted @ 2019-03-06 12:06 lshan 阅读(1586) 评论(0) 推荐(1) 编辑
摘要: 依赖: <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-data-redis</artifactId> </dependency> 配置: server.port=999 阅读全文
posted @ 2019-02-25 16:08 lshan 阅读(431) 评论(0) 推荐(0) 编辑
摘要: 阿里巴巴分布式数据库同步系统(解决中美异地机房) 基本介绍: https://github.com/alibaba/otter 快速使用: https://github.com/alibaba/otter/wiki/QuickStart 阅读全文
posted @ 2019-02-22 14:56 lshan 阅读(346) 评论(0) 推荐(0) 编辑
摘要: 查看 binlog是否开启 show variables like '%log_bin%' 第一步:安装MySQL:(可以参考:https://my.oschina.net/amhuman/blog/1941540) 命令: sudo docker run -it -d --restart unle 阅读全文
posted @ 2019-02-22 12:33 lshan 阅读(801) 评论(0) 推荐(0) 编辑
摘要: 该项目自带文档,非常之详细 参考:https://www.cnblogs.com/xuxueli/p/5021979.html http://www.xuxueli.com/xxl-job/#/?id=%E3%80%8A%E5%88%86%E5%B8%83%E5%BC%8F%E4%BB%BB%E5% 阅读全文
posted @ 2019-02-20 17:04 lshan 阅读(438) 评论(0) 推荐(0) 编辑
摘要: 1.1.4 目前最新版版本支持UI :https://github.com/alibaba/canal/wiki/Canal-Admin-Guide 参考:https://www.cnblogs.com/duanxz/p/5062833.html docker 部署canal : https://b 阅读全文
posted @ 2019-02-20 11:24 lshan 阅读(212) 评论(0) 推荐(0) 编辑
摘要: //目前最新的为mysql8 sudo docker run -itd --restart unless-stopped --net=host --name mysql -p 3306:3306 -e MYSQL_ROOT_PASSWORD=root -v /my/own/datadir:/var/ 阅读全文
posted @ 2019-02-19 10:22 lshan 阅读(277) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2019-02-18 14:49 lshan 阅读(81) 评论(0) 推荐(0) 编辑
摘要: 参考:https://blog.csdn.net/yezhuanxu/article/details/53643248 支持异步调用AsyncRestTemplate post请求如何自定义header @RequestMapping("/headerApi")//模拟远程的restful API 阅读全文
posted @ 2019-02-14 16:19 lshan 阅读(3124) 评论(0) 推荐(0) 编辑
摘要: // Properties properties = PropertiesLoaderUtils.loadAllProperties("properties/LazadaStatusMapping.properties"); Properties properties = PropertiesLoa 阅读全文
posted @ 2019-02-14 14:33 lshan 阅读(1962) 评论(0) 推荐(0) 编辑
上一页 1 ··· 56 57 58 59 60 61 62 63 64 ··· 82 下一页