2021年10月5日

摘要: 从3.1开始,Spring引入了对Cache的支持。其使用方法和原理都类似于Spring对事务管理的支持。Spring Cache是作用在方法上的,其核心思想是这样的:当我们在调用一个缓存方法时会把该方法参数和返回结果作为一个键值对存放在缓存中,等到下次利用同样的参数来调用该方法时将不再执行该方法, 阅读全文

posted @ 2021-10-05 18:27 断弦悠扬 阅读(72) 评论(0) 推荐(0) 编辑


2021年4月20日

摘要: IDEA编译报以下错误 File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent!Using platform encoding (UTF-8 actually) t 阅读全文

posted @ 2021-04-20 10:21 断弦悠扬 阅读(2181) 评论(0) 推荐(0) 编辑


2020年6月21日

摘要: public static void main(String[] args) throws Exception{ Map<String,Object> aa=new HashMap<String, Object>(); aa.put("a1","a1"); aa.put("a2","a2"); aa 阅读全文

posted @ 2020-06-21 14:08 断弦悠扬 阅读(685) 评论(1) 推荐(0) 编辑


2020年6月10日

摘要: 企业微信签名工具: https://work.weixin.qq.com/api/jsapisign 在线json格式化工具 https://www.bejson.com/ 在线Cron表达式生成器 https://qqe2.com/cron Maven Repository https://mvn 阅读全文

posted @ 2020-06-10 09:36 断弦悠扬 阅读(87) 评论(0) 推荐(0) 编辑


2019年4月12日

摘要: sql树形递归查询是数据库查询的一种特殊情形,也是组织结构、行政区划查询的一种最常用的的情形之一。下面对该种查询进行一些总结: start with子句: 递归的条件,需要注意的是如果with后面的值是子节点那么求出的就是他的父节点和祖宗节点,如果是父节点那么求出的就是他的子节点和子孙节点, con 阅读全文

posted @ 2019-04-12 17:14 断弦悠扬 阅读(197) 评论(0) 推荐(0) 编辑


2019年4月9日

摘要: @RunWith(SpringJUnit4ClassRunner.class) @ContextConfiguration(locations = "classpath:application.xml") @Transactional public class Egptest { @Autowire 阅读全文

posted @ 2019-04-09 14:45 断弦悠扬 阅读(143) 评论(0) 推荐(0) 编辑


2019年2月28日

摘要: 一、背景知识: SAML即安全断言标记语言,英文全称是Security Assertion Markup Language。它是一个基于XML的标准,用于在不同的安全域(security domain)之间交换认证和授权数据。在SAML标准定义了身份提供者(identity provider)和服务 阅读全文

posted @ 2019-02-28 16:37 断弦悠扬 阅读(196) 评论(0) 推荐(0) 编辑

摘要: sso response解析 阅读全文

posted @ 2019-02-28 16:35 断弦悠扬 阅读(619) 评论(0) 推荐(0) 编辑


2018年11月5日

摘要: 1.使用jar httpcomponents-client-4.5.6-bin.tar.gz 解压后倒入lib中的所有包 2.参考代码如下 import org.apache.http.HttpResponse;import org.apache.http.client.ClientProtocol 阅读全文

posted @ 2018-11-05 13:01 断弦悠扬 阅读(1183) 评论(0) 推荐(0) 编辑


2018年10月7日

摘要: maven作为一个高度自动化构建工具,本身提供了构建项目的功能,下面就来体验一下使用maven构建项目的过程。 一、构建Jave项目 1.1、创建Jave Project 1、使用mvn archetype:generate命令,如下所示: 2、使用mvn archetype:create命令,如下 阅读全文

posted @ 2018-10-07 17:05 断弦悠扬 阅读(147) 评论(0) 推荐(0) 编辑


Copyright © 2024 断弦悠扬
Powered by .NET 8.0 on Kubernetes