Spring Boot Data JPA, Entity Mappings

所在平台: Udemy

课程主页: https://www.udemy.com/course/spring-boot-data-jpa-entity-mappingsfree/

课程评论:没有评论

第一个写评论        关注课程

课程简介

**课程名称:Spring Boot Data JPA, Entity Mappings** **课程概述:** 本课程旨在深入讲解Spring Boot Data JPA的使用,以及如何构建高效的数据库交互层。课程涵盖了Spring Boot应用程序与MySQL数据库的连接,利用Spring Boot JPA简化数据库操作,以及`CrudRepository`、`JpaRepository`等接口的实际应用。 **核心内容:** * **数据库连接与操作:** * 如何将Spring Boot应用程序连接到MySQL数据库,并利用Spring Boot JPA进行高效的数据库交互。 * 展示如何通过少量代码实现数据库的增删改查操作。 * **Repository接口:** * 详细介绍`CrudRepository`、`JpaRepository`以及`PagingAndSortingRepository`之间的区别和适用场景。 * 学习如何使用自定义Repository方法来执行定制化查询。 * 掌握使用JPQL(Java Persistence Query Language)和原生SQL进行查询。 * 实现分页和排序查询功能。 * **Entity Mappings:** * 讲解不同的Entity(实体)映射关系。 * 探讨各种加载策略(Loading Strategies)及其影响。 * 在Entity类中使用`java.time.LocalDate`、`LocaldateTime`以及`java.util.Date`字段。 * 学习Entity类字段的校验(Validation)。 * **RESTful API开发:** * 如何通过RESTful API端点(使用JSON数据)暴露服务。 * 讲解Service层与Repository层的交互,以及Repository层与底层数据库的交互流程。 * **项目与测验:** * 课程提供每个主题的源代码项目,极具学习价值,能帮助学习者深入理解概念。 * 包含相关的测验,巩固学习成果。 **即将更新内容:** * Entity类中的`static`、`final`、`transient`、`@Transient`字段。 * Entity类之间的继承关系。 * 在Spring Boot JPA中使用H2数据库。 * 在Spring Boot JPA中使用PostgreSQL数据库。 * 通过`MongoTemplate`或`MongoRepository`与MongoDB进行交互。

课程评论(0条)

课程详情

This course covers below TopicsHow to connect Spring Boot Application to MySQL database using Spring Boot JPAHow Spring Boot JPA is useful to interact with Database, using few lines of source codeHow to use CrudRepository, JpaRepositoryDifferent Entity Mappings, with different Loading strategiesExposing REST API end points(using JSON data) interacting with Service Layer, which further interacts with Repository to interact with underlying databaseDifference between CrudRepository, JpaRepository and PagingAndSortingRepositoryCustom Queries using Custom repository methodsCustom JPQL Queries/ Native QueriesPagination and Sorting Queriesjava.time.LocalDate & LocaldateTime fields in Entity classjava.util.Date fields in Entity classValidation of Entity class fieldsThough the Course Video length is of 4 hours 2 minutes, the Source code projects provided with each Topic, has huge value add, and facilitates the Leaner with much more information.Below Topics to be added shortly.static, final, transient, @Transient fields in Entity classInheritance between Entity classesUsing H2 Database with Spring Boot JPAUsing PostGre SQL with Spring Boot JPAinteracting with MongoDB using MongoTemplate or MongoRepositoryProject and Quiz

课程标签

0人关注该课程

主题相关的课程