摘要:
随机数 String s = UUID.randomUUID().toString(); System.out.println(s); //生成的字符串 含有 - 我们可以使用replaceAll 去掉 - String s1 = s.replaceAll("-", ""); System.out. 阅读全文
posted @ 2023-09-15 21:35
微风抚秀发
阅读(16)
评论(0)
推荐(0)
摘要:
声明式事务 指使用注解或 XML 配置的方式来控制事务的提交和回滚 Spring声明式事务准备工作 1. 配置环境 <!-- 声明式事务依赖--> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-tx</a 阅读全文
posted @ 2023-09-15 12:19
微风抚秀发
阅读(40)
评论(0)
推荐(0)

浙公网安备 33010602011771号