上一页 1 ··· 5 6 7 8 9 10 11 下一页
摘要: (33条消息) java如何优雅的判空_一枝风的博客-CSDN博客_java优雅的判空 阅读全文
posted @ 2023-01-06 09:09 每月工资一万八 阅读(22) 评论(0) 推荐(0)
摘要: (33条消息) 使用CompletableFuture.supplyAsync实现异步操作_Eme丶的博客-CSDN博客_completablefuture.supplyasync 阅读全文
posted @ 2023-01-05 15:00 每月工资一万八 阅读(116) 评论(0) 推荐(0)
摘要: 博客后台 - 博客园 (cnblogs.com)package com.peidasoft.instrospector; import java.beans.BeanInfo; import java.beans.Introspector; import java.beans.PropertyDes 阅读全文
posted @ 2022-12-23 13:54 每月工资一万八 阅读(44) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2022-12-22 17:23 每月工资一万八 阅读(24) 评论(0) 推荐(0)
摘要: springboot 事务 笔记详情 (bilibili.com) 1. 快速使用 事务支持 备注:使用事务的时候,一定要首先确保当前数据库的引擎是否支持事务,如果数据库引擎不支持事务,则任何配置都是徒劳的。 ​ 例如:MySQL 数据库 InnoDB 支持事务,而 MyISAM 不支持事务。 引入 阅读全文
posted @ 2022-12-21 21:26 每月工资一万八 阅读(184) 评论(0) 推荐(0)
摘要: SpringMVC的数据响应-数据响应方式 1) 页面跳转 直接返回字符串 通过ModelAndView对象返回 2) 回写数据 直接返回字符串 将需要回写的字符串直接返回,但此时需要通过@ResponseBody注解告知SpringMVC框架,方法返回的字符串不是跳转是直接在http响应体中返回 阅读全文
posted @ 2020-05-14 20:42 每月工资一万八 阅读(148) 评论(0) 推荐(0)
摘要: //bean类必须有无参构造,不然new BeanPropertyRowMapper<bean>(bean.class)不会把数据转为bean对象 @Test public void test3() throws PropertyVetoException { // List<bean> query 阅读全文
posted @ 2020-05-11 21:36 每月工资一万八 阅读(560) 评论(0) 推荐(0)
摘要: 导入 AOP 相关坐标 3.3 Spring集成Junit步骤 ①导入spring集成Junit的坐标 <!--此处需要注意的是,spring5 及以上版本要求 junit 的版本必须是 4.12 及以上--> <dependency> <groupId>org.springframework</g 阅读全文
posted @ 2020-05-11 15:13 每月工资一万八 阅读(182) 评论(0) 推荐(0)
摘要: public interface targetInterface { public void save(); } package com.jiang; public class target implements targetInterface { @Override public void sav 阅读全文
posted @ 2020-05-11 11:13 每月工资一万八 阅读(263) 评论(0) 推荐(0)
摘要: 概念 aop:面向切面编程 aop底层实现:基于JDK的动态代理 和 基于Cglib的动态代理 aop的重点概念: Pointcut(切入点):被增强的方法 Advice(通知/ 增强):封装增强业务逻辑的方法 Aspect(切面):切点+通知 Weaving(织入):将切点与通知结合的过程 开发明 阅读全文
posted @ 2020-05-09 21:47 每月工资一万八 阅读(156) 评论(0) 推荐(0)
上一页 1 ··· 5 6 7 8 9 10 11 下一页