摘要: ubuntu16.04安装mysql5.6 apt-get install software-properties-commonsudo add-apt-repository 'deb http://archive.ubuntu.com/ubuntu trusty universe'sudo apt 阅读全文
posted @ 2019-08-26 11:16 TJGKK 阅读(1189) 评论(0) 推荐(0) 编辑
只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2019-08-01 15:29 TJGKK 阅读(9) 评论(0) 推荐(0) 编辑
摘要: 包路径:org.apache.commons.collections4.MapUtils maven引入 <dependency> <groupId>org.apache.commons</groupId> <artifactId>commons-collections4</artifactId> 阅读全文
posted @ 2019-08-01 15:25 TJGKK 阅读(2154) 评论(0) 推荐(0) 编辑
摘要: 在java的 spring boot项目中使用Redis做缓存。 操作是 1.首先在POM文件中加入redis依赖, 2.在application.yml中添加redis的路径、端口和密码 spring: redis: host: xxx.xxx.xxx.xxx port: xxxxx passwo 阅读全文
posted @ 2019-06-24 09:07 TJGKK 阅读(364) 评论(0) 推荐(0) 编辑
摘要: Entity 最常用实体类,基本和数据表一一对应,一个实体一张表。 Bo(business object) 代表业务对象的意思,Bo就是把业务逻辑封装为一个对象(注意是逻辑,业务逻辑),这个对象可以包括一个或多个其它的对象。通过调用Dao方法,结合Po或Vo进行业务操作。 形象描述为一个对象的形为和 阅读全文
posted @ 2019-06-21 08:44 TJGKK 阅读(1358) 评论(0) 推荐(0) 编辑