会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
黄仔
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
下一页
2021年6月15日
java练习生 - 使用Rabbit MQ
摘要: 方案1:spring-cloud-starter-stream-rabbit 一、添加依赖 <dependency> <groupId>org.springframework.cloud</groupId> <artifactId>spring-cloud-starter-stream-rabbit
阅读全文
posted @ 2021-06-15 17:54 Ariter
阅读(133)
评论(0)
推荐(0)
2021年1月9日
对json中指定字段进行加密操作
摘要: 最近开发过程中,遇到一个场景。即要在打印日志的时候对json中部分字段进行加密操作(数据传输时不需要加密)。 一下是选定的解决方案。 JAVA项目: 一、使用“注解”配合fastjson的“值过滤器”,实现对字段自动加密。 1.1 创建自定义注解【EncryptionField】。 import j
阅读全文
posted @ 2021-01-09 10:58 Ariter
阅读(3763)
评论(0)
推荐(0)
2020年12月31日
java练习生 - 使用mongoDB
摘要: 一、添加依赖 <!--添加mongodb功能--> <dependency> <groupId>org.springframework.data</groupId> <artifactId>spring-data-mongodb</artifactId> <version>2.1.8.RELEASE
阅读全文
posted @ 2020-12-31 17:01 Ariter
阅读(170)
评论(0)
推荐(0)
java练习生 - 使用apollo
摘要: 一、添加依赖 <dependency> <groupId>com.ctrip.framework.apollo</groupId> <artifactId>apollo-client</artifactId> <version>1.4.0</version> </dependency> 二、添加配置
阅读全文
posted @ 2020-12-31 13:37 Ariter
阅读(310)
评论(0)
推荐(0)
java练习生 - swagger
摘要: 一、添加依赖 <dependency> <groupId>io.springfox</groupId> <artifactId>springfox-swagger2</artifactId> <version>2.9.2</version> </dependency> <dependency> <g
阅读全文
posted @ 2020-12-31 10:32 Ariter
阅读(99)
评论(0)
推荐(0)
2020年12月30日
java练习生 - 使用redis(哨兵模式)
摘要: 一、添加依赖 <!--添加redis功能--> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-data-redis</artifactId> </dependency>
阅读全文
posted @ 2020-12-30 18:04 Ariter
阅读(375)
评论(0)
推荐(0)
2020年12月29日
java练习生 - 常用注解
摘要: 一、功能:依赖注入 Lombok注解:构造器注入:@RequiredArgsConstructor_ABin-阿斌的博客-CSDN博客_lombok 构造器注入 https://blog.csdn.net/isea533/article/details/78072133 https://blog.c
阅读全文
posted @ 2020-12-29 19:59 Ariter
阅读(218)
评论(0)
推荐(1)
sqlserver | mysql 转出表结构及实体对象
摘要: sqlserver转java实体对象: select '/**'+char(13)+char(10) +'*'+isnull(CONVERT(VARCHAR(100),g.value),'') + char(13)+char(10) +'*/'+char(13)+char(10) +'@TableF
阅读全文
posted @ 2020-12-29 11:39 Ariter
阅读(343)
评论(0)
推荐(0)
2020年12月25日
linux下部署.net core/java
摘要: .net core 1.查看系统是否已安装net core命令:dotnet --info如果提示未找到命令,说明需要按照net core环境,否则跳过2,3两步 2.查看系统版本,这里是CentOS 7命令:cat /etc/redhat-release 3.根据系统版本找到安装命令【https:
阅读全文
posted @ 2020-12-25 10:31 Ariter
阅读(165)
评论(0)
推荐(0)
sqlserver 同时查询大批量数据的方法
摘要: sqlserver 查询根据索引字段查询记录时,如果要查询的记录非常多,需要将要查询的值转为xml,并导入临时表中进行查询。 写法:1 DECLARE @XMLDocument XML SET @XMLDocument='<Root> <Row><A>898989898</A><B>123213</
阅读全文
posted @ 2020-12-25 10:20 Ariter
阅读(1434)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
下一页
公告