会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
懂得归零
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
5
6
7
8
9
10
11
12
13
下一页
2021年8月6日
Linux服务器部署Redis
摘要: 1、拉取最新redis镜像 docker pull redis 2、启动redis服务 docker run -itd --name redis -p 6379:6379 redis 3、阿里云服务器控制台,防火墙添加规则
阅读全文
posted @ 2021-08-06 08:41 懂得归零
阅读(75)
评论(0)
推荐(0)
2021年8月4日
手动设置事务回滚
摘要: 1、impl层的方法添加@Transactional注解2、使用try - catch语句在catch代码块中调用回滚方法 TransactionAspectSupport.currentTransactionStatus().setRollbackOnly();
阅读全文
posted @ 2021-08-04 10:48 懂得归零
阅读(298)
评论(0)
推荐(0)
2021年8月2日
2个相同类型的实体类如何映射
摘要: import java.beans.Introspector;import java.beans.PropertyDescriptor;import java.lang.reflect.Field;import java.lang.reflect.Method;import java.lang.re
阅读全文
posted @ 2021-08-02 16:30 懂得归零
阅读(530)
评论(0)
推荐(0)
2021年7月29日
minio的Java开发文档工具类封装
摘要: import cn.hutool.core.date.DateUtil;import io.minio.MinioClient;import io.minio.errors.InvalidEndpointException;import io.minio.errors.InvalidPortExce
阅读全文
posted @ 2021-07-29 17:13 懂得归零
阅读(1304)
评论(0)
推荐(0)
2021年7月23日
Map<String,Object>与对应实体类之间的转换
摘要: import java.beans.BeanInfo;import java.beans.Introspector;import java.beans.PropertyDescriptor;import java.lang.reflect.Field;import java.lang.reflect
阅读全文
posted @ 2021-07-23 08:54 懂得归零
阅读(2557)
评论(0)
推荐(0)
SpringBoot项目配置多数据源
摘要: 1、引入对应数据库相关依赖<!--mysql数据库--><dependency> <groupId>mysql</groupId> <artifactId>mysql-connector-java</artifactId></dependency> <!--postgresql数据库--><depe
阅读全文
posted @ 2021-07-23 08:49 懂得归零
阅读(173)
评论(0)
推荐(0)
2021年7月16日
POI导出
摘要: 项目整合到gitee上 https://gitee.com/xingleiym/excel-export.git
阅读全文
posted @ 2021-07-16 16:35 懂得归零
阅读(41)
评论(0)
推荐(0)
2021年7月15日
List集合中的stream流方法应用总结
摘要: import java.util.*;import java.util.stream.Collectors;/** * stream流的应用 */public class StreamUtils { public static List<Map<String, Object>> list; stat
阅读全文
posted @ 2021-07-15 16:40 懂得归零
阅读(3122)
评论(0)
推荐(0)
2021年7月13日
中文首字母拼音排序
摘要: 1、引入pom依赖<dependency> <groupId>com.belerweb</groupId> <artifactId>pinyin4j</artifactId> <version>2.5.0</version></dependency>2、自定义工具类 package com.tong
阅读全文
posted @ 2021-07-13 09:54 懂得归零
阅读(517)
评论(0)
推荐(0)
2021年7月9日
stream流求和
摘要: List<Vo> list = new ArrayList<>();for (int i = 0; i < 4; i++) { Vo vo = new Vo(); vo.setName("21"); vo.setGrade(new Double(2 + i)); list.add(vo);}doub
阅读全文
posted @ 2021-07-09 11:21 懂得归零
阅读(1208)
评论(0)
推荐(0)
上一页
1
···
5
6
7
8
9
10
11
12
13
下一页
公告