上一页 1 2 3 4 5 6 7 8 9 ··· 22 下一页
摘要: Properties pos = new Properties(); InputStream is= GKSocketClient.class.getResourceAsStream("/config/property/GK.properties"); String userName=String. 阅读全文
posted @ 2020-09-14 13:59 小泉哥 阅读(126) 评论(0) 推荐(0)
摘要: StringEscapeUtils.escapeXml("xxx");//转义特殊字符 以下5个字符为需要进行转义的字符 字符 转义后 编码 & &amp; &#38 ' &apos; &#39 " &quot; &#34 > &gt; &#62 < &lt; &#60 阅读全文
posted @ 2020-09-08 10:54 小泉哥 阅读(409) 评论(0) 推荐(0)
摘要: 我们都知道,Spring可以@Value的方式读取properties中的值,只需要在配置文件中配置org.springframework.beans.factory.config.PropertyPlaceholderConfigurer <bean id="propertyConfigurer" 阅读全文
posted @ 2020-09-04 16:57 小泉哥 阅读(1423) 评论(0) 推荐(0)
摘要: https://blog.csdn.net/kangxidagege/article/details/80211225 阅读全文
posted @ 2020-08-27 19:09 小泉哥 阅读(454) 评论(0) 推荐(0)
摘要: <build> <plugins> <plugin> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-maven-plugin</artifactId> <version>2.3.0.RELEASE</versi 阅读全文
posted @ 2020-08-17 19:58 小泉哥 阅读(623) 评论(0) 推荐(0)
摘要: Dubbo 提供了4种负载均衡的实现,分别是: Random LoadBalance 基于权重的随机负载均衡机制(默认) RoundRobin LoadBalance 基于权重的轮询负载均衡机制 LeastActive LoadBalance 最少活跃数负载均衡机制 ConsistentHash L 阅读全文
posted @ 2020-08-12 15:02 小泉哥 阅读(996) 评论(0) 推荐(0)
摘要: ** * @author xxx * @date $date$ $time$ * @description $param$ * @return $return$ **/ groovyScript("def result=''; def params=\"${_1}\".replaceAll('[\\ 阅读全文
posted @ 2020-08-06 20:03 小泉哥 阅读(767) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2020-08-06 16:14 小泉哥 阅读(524) 评论(0) 推荐(0)
摘要: 原因分析见:https://www.cnblogs.com/pjjlt/p/10926398.html 解决办法:catch中手动回滚。 try { }catch (Exception e){ //手动回滚 TransactionAspectSupport.currentTransactionSta 阅读全文
posted @ 2020-08-05 19:12 小泉哥 阅读(637) 评论(0) 推荐(0)
摘要: 前言:开发团队一般因为没有统一的命名规范而随意命名导致很难根据方法名去快速知道方法作用,如果能约定一套统一的命名规范,肯定可以大大减少大家的沟通成本。因此,就推荐给大家一套常用的增删改查的命名。 Dao 接口命名 insert batchInsert selectOne selectById cou 阅读全文
posted @ 2020-08-05 11:27 小泉哥 阅读(2114) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 8 9 ··· 22 下一页