摘要:
public static void main(String[] args) { //创建线程池,并指定线程池中线程的数量 ExecutorService pool = Executors.newFixedThreadPool(2); Runnable r = new Runnable() { @O 阅读全文
摘要:
1.Spring Data JPA简介 Spring Data是一个用于简化数据访问,并支持云服务的开源框 使用完成Spring Data JPA对user表的CRUD操作。 2.步骤 1.创建工程勾选依赖 2.编写Pojo,添加注解 3.编写Dao(需要继承JpaRepository<T,ID>) 阅读全文