雪洗中关村

导航

上一页 1 ··· 11 12 13 14 15 16 17 18 19 ··· 26 下一页

2018年10月18日 #

java并发编程-Executor框架 + Callable + Future

摘要: from: https://www.cnblogs.com/shipengzhi/articles/2067154.html 阅读全文

posted @ 2018-10-18 10:03 雪洗中关村 阅读(173) 评论(0) 推荐(0) 编辑

2018年10月17日 #

Executors Future Callable 使用场景实例

摘要: https://www.jb51.net/article/132606.htm: 我们都知道实现多线程有2种方式,一种是继承Thread,一种是实现Runnable,但这2种方式都有一个缺陷,在任务完成后无法获取返回结果。要想获得返回结果,就得使用Callable,Callable任务可以有返回值, 阅读全文

posted @ 2018-10-17 20:55 雪洗中关村 阅读(434) 评论(0) 推荐(0) 编辑

2018年10月16日 #

Spring Data JPA Hibernate @QueryHints

摘要: 另一个实例: http://leobluewing.iteye.com/blog/2032396 ; 本文内容来源:https://blog.csdn.net/gavinchen1985/article/details/81841687 jpa官方:https://docs.spring.io/sp 阅读全文

posted @ 2018-10-16 17:07 雪洗中关村 阅读(4862) 评论(0) 推荐(0) 编辑

Executor, ExecutorService 和 Executors 间的不同

摘要: 一、Java 线程池 Java通过Executors提供四种线程池,分别为:1、newCachedThreadPool: 创建一个可缓存线程池,如果线程池长度超过处理需要,可灵活回收空闲线程,若无可回收,则新建线程。(线程最大并发数不可控制)2、newFixedThreadPool: 创建一个定长线 阅读全文

posted @ 2018-10-16 11:22 雪洗中关村 阅读(281) 评论(0) 推荐(0) 编辑

2018年10月12日 #

hibernate @Formula

摘要: https://blog.csdn.net/ooiuy450/article/details/55225465 https://blog.csdn.net/ypp91zr/article/details/78026791 阅读全文

posted @ 2018-10-12 13:18 雪洗中关村 阅读(291) 评论(0) 推荐(0) 编辑

2018年10月11日 #

SpringBoot 同时整合thymeleaf html、vue html和jsp

摘要: https://www.jianshu.com/p/1515d4ec4ad4 阅读全文

posted @ 2018-10-11 20:44 雪洗中关村 阅读(867) 评论(0) 推荐(0) 编辑

synchronized (lock) 买票demo 线程安全

摘要: 加锁防止多个线程执行同一段代码! http://blog.51cto.com/wyait/1916898 阅读全文

posted @ 2018-10-11 17:06 雪洗中关村 阅读(214) 评论(0) 推荐(0) 编辑

2018年10月10日 #

springboot项目搭建

摘要: https://blog.csdn.net/u012702547/article/details/54319508 阅读全文

posted @ 2018-10-10 21:05 雪洗中关村 阅读(114) 评论(0) 推荐(0) 编辑

2018年10月8日 #

Mybatis的mapper文件中$和#的用法及区别详解

摘要: https://www.2cto.com/database/201806/752139.html用了一段时间的Mybatis了,对于$和#的用法老是很迷糊,特此记下加深记忆。 简单来说 #{} 会在将参数加上引号,例如: SELECT * FROM user WHERE username=#{username} ; 带上参数后的SQL语句即: SELECT * F... 阅读全文

posted @ 2018-10-08 17:42 雪洗中关村 阅读(1886) 评论(0) 推荐(0) 编辑

mybatis映射文件mapper.xml的写法(collections...)

摘要: 转自:https://blog.csdn.net/two_people/article/details/51759881 在学习mybatis的时候我们通常会在映射文件这样写: 来读取配置文件 另一种方法就是: 直接在mapper.xml中的这一部分写成dao<mapper namespace="c 阅读全文

posted @ 2018-10-08 17:11 雪洗中关村 阅读(18323) 评论(0) 推荐(0) 编辑

上一页 1 ··· 11 12 13 14 15 16 17 18 19 ··· 26 下一页