上一页 1 2 3 4 5 6 7 ··· 94 下一页
摘要: 【MAT-MemoryAnalyzer】使用快速排查问题 引用地址:https://blog.csdn.net/lyd135364/article/details/121449969?spm=1001.2101.3001.6650.1&utm_medium=distribute.pc_relevan 阅读全文
posted @ 2022-07-22 10:33 Angel挤一挤 阅读(71) 评论(0) 推荐(0) 编辑
摘要: 示例使用 # 查询student表中 stu_id重复的记录 select count(stu_id) as idcount , stu_id from student group by stu_id having idcount > 1 阅读全文
posted @ 2022-05-26 11:07 Angel挤一挤 阅读(1787) 评论(0) 推荐(0) 编辑
摘要: BigDecimal大于等于/小于等于/小于/大于/等于 比较器工具方法 public static void main(String[] args) { BigDecimal self = new BigDecimal("100"); BigDecimal constant = new BigDe 阅读全文
posted @ 2022-05-24 17:49 Angel挤一挤 阅读(1210) 评论(0) 推荐(0) 编辑
摘要: 1.pom.xml文件 <dependency> <groupId>com.fasterxml.jackson.core</groupId> <artifactId>jackson-core</artifactId> <version>2.9.3</version> </dependency> <d 阅读全文
posted @ 2022-05-06 17:54 Angel挤一挤 阅读(1149) 评论(0) 推荐(0) 编辑
摘要: 1.pom.xml文件 <spring.boot.version>2.2.5.RELEASE</spring.boot.version> <mysql-connector-java-version>6.0.6</mysql-connector-java-version> <alibaba-druid 阅读全文
posted @ 2022-04-19 16:05 Angel挤一挤 阅读(5210) 评论(0) 推荐(1) 编辑
摘要: 解决方案 其实很简单,将数据库字段中datetime长度从0调整至3即可。 问题原因 因为Java的Date类对象获取的时间是以带着小数的毫秒数传入数据库的,而当数据库datetime设置长度为0时,会自动根据毫秒数后面的小数进行四舍五入,会导致时间精度的缺失。当把数据库字段的长度设置为3时,数据库 阅读全文
posted @ 2022-04-08 17:20 Angel挤一挤 阅读(500) 评论(0) 推荐(0) 编辑
摘要: 转自: Mybatis中使用association进行关联的几种方式 这里以一对一单向关联为例。对使用或不使用association的配置进行举例。 实体类: @Data @ToString @NoArgsConstructor public class IdCard { private Integ 阅读全文
posted @ 2022-03-27 18:58 Angel挤一挤 阅读(1598) 评论(0) 推荐(0) 编辑
摘要: 1.声明 某个Bean 仅在一定条件下 才初始化Bean,否则 就不初始化。 import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotat 阅读全文
posted @ 2022-03-27 11:44 Angel挤一挤 阅读(1137) 评论(0) 推荐(0) 编辑
摘要: 今日份代码: import java.util.concurrent.Callable; import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors; import java.util.conc 阅读全文
posted @ 2022-03-23 16:38 Angel挤一挤 阅读(728) 评论(0) 推荐(0) 编辑
摘要: 1.你的启动类上要有它 @SpringBootApplication @EnableScheduling public class JobApplication { public static void main(String[] args) { try { SpringApplication.ru 阅读全文
posted @ 2022-02-28 19:33 Angel挤一挤 阅读(1416) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 94 下一页