摘要:
<plugin> <artifactId>exec-maven-plugin</artifactId> <groupId>org.codehaus.mojo</groupId> <executions> <execution> <!-- <id>uncompress</id> --> <phase> 阅读全文
摘要:
一、基本概念 二、解决方案 XA协议: TCC协议: 该思路最初由Ebay提出:https://queue.acm.org/detail.cfm?id=1394128 可分为基于本地事件、基于外部事件两种模式 基于本地事件: 基于外部事件: SAGA工作流: 三、参考资料 再有人问你分布式事务,把这 阅读全文
摘要:
#!/usr/bin/env groovy pipeline { agent none stages { stage('stage-01') { agent { label 'master' } steps { echo 'stage-01' sh '... 阅读全文
摘要:
#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 阅读全文
摘要:
#https://blog.csdn.net/chenqipc/article/details/53322830#https://github.com/spring-cloud/spring-cloud-netflix/issues/2030#https://github.com/spring-cl 阅读全文
摘要:
package com.laplace.laplace.common.starter.config; import java.io.IOException; import org.slf4j.Logger;import org.slf4j.LoggerFactory;import org.sprin 阅读全文
摘要:
/* * http://412887952-qq-com.iteye.com/blog/2348445 * http://www.jb51.net/article/106558.htm * https://my.oschina.net/xiaominmin/blog/1607747 */ publi 阅读全文
摘要:
#https://stackoverflow.com/questions/24074749/spring-boot-cannot-determine-embedded-database-driver-class-for-database-type#https://github.com/spring- 阅读全文
摘要:
方案一: 方案二: 阅读全文
摘要:
我认为最合理的做法: 1、dao层不捕获异常、不抛出异常:spring框架将底层的数据库checked异常封装成unchecked异常了 2、service层捕获异常,并抛出自定义unchecked异常,异常中不定义状态码:checked异常默认情况事务不会回滚 3、controller层捕获异常, 阅读全文