后台
文章平均质量分 61
my_wings
这个作者很懒,什么都没留下…
展开
-
jdbc连接mysql设置session variables 参数变量
这里写自定义目录标题两种方式连接串设置[^1]执行语句中设置两种方式url连接串中设置执行语句中设置连接串设置1sessionVariablesjdbc.url=jdbc:mysql://xxxx.xx.xx.xx/dbName?sessionVariables=group_concat_max_len=204800`多个参数jdbc:mysql://localhost/da...原创 2019-12-12 16:58:41 · 5700 阅读 · 0 评论 -
标注在接口上的注解无效,无法使用aop拦截,即使声明了@Inherited
通常我们会通过实现一个接口来编写一个类,为了省事,我将注解直接标注在了接口的方法上,实验发现通过aop并没有拦截到该注解,即使在定义注解时使用了@Inherited元注解。 通过阅读@Inherited注解的源码,可以发现:package java.lang.annotation;/** * Indicates that an annotation type is automati...原创 2018-08-27 14:30:39 · 8443 阅读 · 1 评论 -
java注解与基于@AspectJ的AOP
1 注解1.1 要点元注解:注解的注解 @Retention(生命范围:源代码,class,runtime)、@Inherited、@Documented、@Target(作用范围,方法,属性,构造方法等)。 @Target 表示该注解用于什么地方,可能的值在枚举类 ElemenetType 中,包括: ElemenetType.CONSTRUCTOR-------...原创 2018-08-24 16:46:51 · 5357 阅读 · 0 评论 -
git密码修改后,pull失败,显示authentication failed
windows10下,搜索 凭据管理器windows 凭据普通凭据下找到对应的git的凭据编辑用户名密码后保存即可重新pull push原创 2019-05-14 14:44:05 · 3455 阅读 · 0 评论