- 博客(5)
- 资源 (6)
- 收藏
- 关注
原创 Transaction rolled back because it has been marked as rollback-only
spring 事物事物嵌套 多个service是同一个事务、然后有一个service抛出异常、会把事务打上回滚标签、即使其他service在都执行成功的情况、最后提交事务的时候、发现有回滚标签、都会全部回滚的 ...
2022-03-15 14:59:14
360
原创 我的雪花算法理解
雪花算法是推特公司基于自己业务量设计的高性能全局唯一编号生成算法,下面是雪花算法的基本结构 /** * Twitter_Snowflake<br> * SnowFlake的结构如下(每部分用-分开):<br> * 0 - 0000000000 0000000000 0000000000 0000000000 0 - 00000 - 00000 - 00000000...
2019-05-08 11:38:39
3249
2
原创 springboot web做单元测试
package com.ziroom.finance.mbs.web; import com.alibaba.fastjson.JSONObject; import org.junit.Before; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.a
2017-10-11 14:11:41
4435
原创 maven profile配置
profiles> profile> id>devid> properties> env>devenv> properties> profile> profile> id>productionid> properties> env>productionenv>
2017-08-30 17:26:47
581
原创 request.getParameter() 、 request.getInputStream()使用冲突
在一个线程中,如果使用了request.getParameter()获取参数,在后续的 request.getInputStream()将获取不到参数
2016-08-17 14:50:50
1109
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人