上一页 1 2 3 4 5 6 7 ··· 52 下一页
摘要: <plugin> <artifactId>exec-maven-plugin</artifactId> <groupId>org.codehaus.mojo</groupId> <executions> <execution> <!-- <id>uncompress</id> --> <phase> 阅读全文
posted @ 2019-06-26 13:40 junneyang 阅读(3506) 评论(0) 推荐(0) 编辑
摘要: 一、基本概念 二、解决方案 XA协议: TCC协议: 该思路最初由Ebay提出:https://queue.acm.org/detail.cfm?id=1394128 可分为基于本地事件、基于外部事件两种模式 基于本地事件: 基于外部事件: SAGA工作流: 三、参考资料 再有人问你分布式事务,把这 阅读全文
posted @ 2018-10-02 12:08 junneyang 阅读(1035) 评论(0) 推荐(0) 编辑
摘要: #!/usr/bin/env groovy pipeline { agent none stages { stage('stage-01') { agent { label 'master' } steps { echo 'stage-01' sh '... 阅读全文
posted @ 2018-08-16 16:40 junneyang 阅读(608) 评论(0) 推荐(0) 编辑
摘要: #https://www.elastic.co/guide/en/kibana/5.0/_configuring_kibana_on_docker.html#https://discuss.elastic.co/t/issue-setting-server-basepath-via-env-vari 阅读全文
posted @ 2018-06-07 16:29 junneyang 阅读(563) 评论(0) 推荐(0) 编辑
摘要: #https://blog.csdn.net/chenqipc/article/details/53322830#https://github.com/spring-cloud/spring-cloud-netflix/issues/2030#https://github.com/spring-cl 阅读全文
posted @ 2018-06-05 23:19 junneyang 阅读(186) 评论(0) 推荐(0) 编辑
摘要: package com.laplace.laplace.common.starter.config; import java.io.IOException; import org.slf4j.Logger;import org.slf4j.LoggerFactory;import org.sprin 阅读全文
posted @ 2018-06-04 12:57 junneyang 阅读(2336) 评论(0) 推荐(0) 编辑
摘要: /* * http://412887952-qq-com.iteye.com/blog/2348445 * http://www.jb51.net/article/106558.htm * https://my.oschina.net/xiaominmin/blog/1607747 */ publi 阅读全文
posted @ 2018-06-04 12:04 junneyang 阅读(1170) 评论(0) 推荐(0) 编辑
摘要: #https://stackoverflow.com/questions/24074749/spring-boot-cannot-determine-embedded-database-driver-class-for-database-type#https://github.com/spring- 阅读全文
posted @ 2018-05-31 23:55 junneyang 阅读(4884) 评论(0) 推荐(0) 编辑
摘要: 方案一: 方案二: 阅读全文
posted @ 2018-05-31 16:54 junneyang 阅读(1779) 评论(0) 推荐(1) 编辑
摘要: 我认为最合理的做法: 1、dao层不捕获异常、不抛出异常:spring框架将底层的数据库checked异常封装成unchecked异常了 2、service层捕获异常,并抛出自定义unchecked异常,异常中不定义状态码:checked异常默认情况事务不会回滚 3、controller层捕获异常, 阅读全文
posted @ 2018-05-25 23:07 junneyang 阅读(603) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 52 下一页