会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
atao-BigData
人生如逆旅,你我亦行人。
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
13
14
15
16
17
18
19
20
21
···
39
下一页
2022年11月6日
MyBatis-架构概述,什么是框架,三层架构,JDBC
摘要: MyBatis 框架-第1章 框架概述 1. 软件开发常用结构 1.1 三层架构 三层架构包含的三层: 界面层(User Interface layer)、业务逻辑层(Business Logic Layer)、数据访问层(Data access layer) ==三层的职责== \1. 界面层(表
阅读全文
posted @ 2022-11-06 10:03 a-tao必须奥利给
阅读(411)
评论(0)
推荐(0)
2022年11月5日
开始使用AspectJ-@AfterThrowing ,@After ,@Pointcut 定义切入点(比较重要)
摘要: 开始使用AspectJ(接下来的作为了解就行) 1. [了解]@AfterThrowing 异常通知-注解中有 throwing 属性 在目标方法抛出异常后执行。该注解的 throwing 属性用于指定所发生的异常类对象。 当然,被注解为异常通知的方法可以包含一个参数 Throwable,参数名称为
阅读全文
posted @ 2022-11-05 22:40 a-tao必须奥利给
阅读(346)
评论(0)
推荐(0)
使用AspectJ-@AfterReturning(returning ret),@Around (ProceedingJoinPoint pjp)环绕通知<重点>
摘要: 开始使用AspectJ 1. [掌握]@AfterReturning 后置通知-注解有 returning 属性 在目标方法执行之后执行。由于是目标方法之后执行,所以可以获取到目标方法的返回值。该注解的 returning 属性就是用于指定接收方法返回值的变量名的。所以,被注解为后 置通知的方法,除
阅读全文
posted @ 2022-11-05 22:12 a-tao必须奥利给
阅读(406)
评论(0)
推荐(0)
开始使用AspectJ-实现步骤@Aspect,@Before,还有其中的JoinPoint参数
摘要: 开始使用AspectJ 1.maven依赖 <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>4.11</version> <scope>test</scope> </dependency> <
阅读全文
posted @ 2022-11-05 20:56 a-tao必须奥利给
阅读(671)
评论(0)
推荐(0)
AOP-简介,面向切面编程好处,AOP编程术语,AspectJ(通知类型,切入点表达式)
摘要: AOP 概述 1.AOP 简介 AOP(Aspect Orient Programming),面向切面编程。面向切面编程是从动态角度考虑程 序运行过程。 AOP 底层,就是采用动态代理模式实现的。采用了两种代理:JDK 的动态代理,与 CGLIB 的动态代理。 AOP 为 Aspect Orient
阅读全文
posted @ 2022-11-05 19:33 a-tao必须奥利给
阅读(270)
评论(0)
推荐(0)
2022年11月4日
集合工具类
摘要: 集合工具类 package com.bcht.bigdata.dsjmh.api.utils; import java.util.Collections; import java.util.List; public class CollectionsUtil { /** * 调换集合中两个指定位置的
阅读全文
posted @ 2022-11-04 14:09 a-tao必须奥利给
阅读(54)
评论(0)
推荐(0)
日期工具类(重点)
摘要: ==日期工具类(常用)== package com.bcht.bigdata.dsjmh.api.utils; import org.apache.commons.lang3.StringUtils; import java.sql.Timestamp; import java.text.Parse
阅读全文
posted @ 2022-11-04 14:07 a-tao必须奥利给
阅读(29)
评论(0)
推荐(0)
json 工具类
摘要: json 工具类 /* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed wit
阅读全文
posted @ 2022-11-04 14:04 a-tao必须奥利给
阅读(80)
评论(0)
推荐(0)
分页查询,Record,map2entity工具类
摘要: #分页查询,Record,map2entity工具类 1.page package com.WT.bigdata.dsjmh.api.utils; import com.jfinal.plugin.activerecord.Record; import java.util.List; /** * 分
阅读全文
posted @ 2022-11-04 14:02 a-tao必须奥利给
阅读(55)
评论(0)
推荐(0)
关于工具类的学习-StringUtils(常用)
摘要: 关于工具类的学习-StringUtils(常用) package com.WT.bigdata.dsjmh.api.utils; import java.util.HashMap; import java.util.Map; public class StringUtils { /** * 判断字符
阅读全文
posted @ 2022-11-04 13:51 a-tao必须奥利给
阅读(29)
评论(0)
推荐(0)
上一页
1
···
13
14
15
16
17
18
19
20
21
···
39
下一页
公告