会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
小泉哥
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
8
9
···
22
下一页
2020年9月14日
java读取properties文件
摘要: 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)
2020年9月8日
XML特殊字符处理
摘要: StringEscapeUtils.escapeXml("xxx");//转义特殊字符 以下5个字符为需要进行转义的字符 字符 转义后 编码 & & & ' ' ' " " " > > > < < <
阅读全文
posted @ 2020-09-08 10:54 小泉哥
阅读(409)
评论(0)
推荐(0)
2020年9月4日
Spring用代码来读取properties文件
摘要: 我们都知道,Spring可以@Value的方式读取properties中的值,只需要在配置文件中配置org.springframework.beans.factory.config.PropertyPlaceholderConfigurer <bean id="propertyConfigurer"
阅读全文
posted @ 2020-09-04 16:57 小泉哥
阅读(1423)
评论(0)
推荐(0)
2020年8月27日
单链表与双链表的区别
摘要: https://blog.csdn.net/kangxidagege/article/details/80211225
阅读全文
posted @ 2020-08-27 19:09 小泉哥
阅读(454)
评论(0)
推荐(0)
2020年8月17日
idea打包的jar运行报xxx.jar中没有主清单属性
摘要: <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)
2020年8月12日
dubbo默认负载均衡实现方式
摘要: Dubbo 提供了4种负载均衡的实现,分别是: Random LoadBalance 基于权重的随机负载均衡机制(默认) RoundRobin LoadBalance 基于权重的轮询负载均衡机制 LeastActive LoadBalance 最少活跃数负载均衡机制 ConsistentHash L
阅读全文
posted @ 2020-08-12 15:02 小泉哥
阅读(996)
评论(0)
推荐(0)
2020年8月6日
idea2019自定义方法注解(支持单参数、多参数)
摘要: ** * @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)
idea xml文件去掉背景黄色
摘要:
阅读全文
posted @ 2020-08-06 16:14 小泉哥
阅读(524)
评论(0)
推荐(0)
2020年8月5日
try catch导致@Transactional回滚失败
摘要: 原因分析见:https://www.cnblogs.com/pjjlt/p/10926398.html 解决办法:catch中手动回滚。 try { }catch (Exception e){ //手动回滚 TransactionAspectSupport.currentTransactionSta
阅读全文
posted @ 2020-08-05 19:12 小泉哥
阅读(637)
评论(0)
推荐(0)
java推荐的增删改查接口命名规范
摘要: 前言:开发团队一般因为没有统一的命名规范而随意命名导致很难根据方法名去快速知道方法作用,如果能约定一套统一的命名规范,肯定可以大大减少大家的沟通成本。因此,就推荐给大家一套常用的增删改查的命名。 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
下一页
公告