
Java
something about Java...
HackerLZH
Big Data,AI,WEB development,which can I make more money by? I will grasp the lifeblood of the time!
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
数据库批量插入应该使用jdbc而非mybatis
数据库批量插入应该使用jdbc而非mybatis。原创 2025-01-16 13:37:13 · 145 阅读 · 0 评论 -
浅析springboot的@Cacheable加入缓存@CacheEvict清除缓存及spEL表达式编写key
一、@Cacheable的作用1、缓存使用步骤:@Cacheable这个注解,用它就是为了使用缓存的。所以我们可以先说一下缓存的使用步骤:1、开启基于注解的缓存,使用 @EnableCaching 标识在 SpringBoot 的主启动类上。2、标注缓存注解即可注:这里使用 @Cacheable 注解就可以将运行结果缓存,以后查询相同的数据,直接从缓存中取,不需要调用方法2、@Cacheable作用:把方法的返回值添加到Ehcache缓存中。3、常用属性介绍:(1)cacheNames转载 2022-04-18 20:59:39 · 8515 阅读 · 2 评论 -
Error resolving template [XXX/XXX], template might not exist or might not be accessible by a...
Error resolving template [XXX/XXX], template might not exist or might not be accessible by a...原创 2022-04-12 22:21:38 · 1869 阅读 · 0 评论 -
ArrayList中添加ArrayList
List<List<Integer>> bigList = new ArrayList<>(); List<Integer> list = new ArrayList<>(); list.add(1); bigList.add(list); list.clear(); list.add(2); bigList.add(list); ...原创 2022-01-08 12:12:05 · 2165 阅读 · 1 评论 -
最精炼的Java学习笔记
文章目录Java String类介绍常用方法String.length()string1.concat(string2)String.format其它String类支持的方法Java StringBuffer 和 StringBuilder 类介绍类方法Java高级编程MavenJunitJava多线程多线程实现用Eclipse时的一些依赖Java String类介绍作用:创建和操作字符串...原创 2019-11-24 20:33:17 · 305 阅读 · 0 评论