摘要: SpringBoot 一、SpringBoot简介1.1 原有Spring优缺点分析1.1.1 Spring的优点分析Spring是Java企业版(Java Enterprise Edition,JEE,也称J2... 阅读全文
posted @ 2019-11-07 23:48 第五个世界 阅读(164) 评论(0) 推荐(0) 编辑
摘要: 场景:在springboot整合springdata jpa时抛出错误Caused by: org.hibernate.AnnotationException: No identifier specified f... 阅读全文
posted @ 2019-11-07 00:36 第五个世界 阅读(201) 评论(0) 推荐(0) 编辑
摘要: 错误提示:org.apache.ibatis... 阅读全文
posted @ 2019-11-04 01:20 第五个世界 阅读(123) 评论(0) 推荐(0) 编辑
摘要: 使用mybatis报错java.lang.IllegalArgumentException: Result Maps collection does not contain value for com.xxx.m... 阅读全文
posted @ 2019-11-04 01:08 第五个世界 阅读(2265) 评论(0) 推荐(0) 编辑
摘要: 1. Specifications动态查询有时我们在查询某个实体的时候,给定的条件是不固定的,这时就需要动态构建相应的查询语句,在Spring Data JPA中可以通过JpaSpecificationExecu... 阅读全文
posted @ 2019-10-20 15:34 第五个世界 阅读(257) 评论(0) 推荐(0) 编辑
摘要: 1.Spring Data JPA 介绍 1.1 Spring Data JPA概述 Spring Data JPA 是 Spring 基于 ORM 框架、JPA 规范的基础上封装的一套JPA应用框架,可使开发者用极简的代码即可实现对数据库的访问和操作。它提供了包括增删改查等在内的常用功能,且易于扩 阅读全文
posted @ 2019-10-03 14:25 第五个世界 阅读(170) 评论(0) 推荐(0) 编辑
摘要: 1.ORM概述ORM(Object-Relational Mapping) 表示对象关系映射。在面向对象的软件开发中,通过ORM,就可以把对象映射到关系型数据库中。只要有一套程序能够做到建立对象与数据库的关联,操... 阅读全文
posted @ 2019-09-17 22:28 第五个世界 阅读(192) 评论(0) 推荐(0) 编辑
摘要: 方式一、 返回XMLServlet代码: p... 阅读全文
posted @ 2017-01-25 17:43 第五个世界 阅读(161) 评论(0) 推荐(0) 编辑
摘要: package hf.firstclass.... 阅读全文
posted @ 2016-12-05 17:27 第五个世界 阅读(196) 评论(0) 推荐(0) 编辑
摘要: xml源文件 张三 ... 阅读全文
posted @ 2016-12-04 21:50 第五个世界 阅读(141) 评论(0) 推荐(0) 编辑