|
所在平台: Udemy |
课程主页: https://www.udemy.com/course/jpa-orm-springdata-jpa-for-complete-beginner-with-handson/
课程评论:没有评论
课程名称:初学者的JPA ORM与SpringData JPA实操课程 课程概述: 本课程将带您深入了解JPA(Java持久化API)和ORM(对象关系映射)的不同概念,并学习如何将这些概念应用于实际项目中。您将学习的内容包括:实体(Entity)、实体管理器(Entity Manager)、查询(Query)、标准(Criteria)、持久化上下文(Persistence Context)、持久化单元(Persistence Unit)、事务(Transaction)、延迟加载(Lazy loading)、关系及SpringData JPA等。 课程将通过实际案例教学,教您如何在不使用Spring Boot的情况下,以及在使用Spring Boot的情况下使用JPA。您还将了解如何使用SpringData JPA的各种查询方法,如findBy、countBy、existsBy和deleteBy等。 您将学习的主题包括: - JPA简介:JPA的概述以及从JPA 1到JPA 2的演变,关键特性和优势。 - 实体基本知识:创建JPA实体、实体生命周期和状态、注解(@Entity、@Id、@GeneratedValue等)、可嵌入和嵌入对象的使用。 - 实体映射:映射实体属性及其一对一、一对多、多对一和多对多关系,以及继承结构(单表、连接和每类表策略)。 - JPQL(Java持久化查询语言):JPQL概述、查询实体、命名查询、JPQL函数和聚合等。 - Criteria API:引入Criteria API,构建类型安全的查询以及事务和持久化上下文的管理。 - 高级映射技术:嵌入对象和集合、延迟和急切加载策略、乐观和悲观锁、性能调整和最佳实践。 - Java EE和Spring的集成:在Java EE应用程序中使用JPA、Spring Data JPA的集成、与JTA和Spring的事务管理。 - 测试与调试JPA应用程序:单元测试JPA实体和查询、调试常见JPA问题、使用嵌入式数据库进行集成测试。 - 迁移与升级:从JPA 1迁移到JPA 2,升级JPA提供者,处理版本特定的问题。 - JPA的未来:ORM框架的趋势和进展,JPA与其他ORM解决方案的比较,以及现代应用开发的考虑因素。 完成本课程后,您将成为一个专业级的开发者,能够自信地在任何使用JPA或SpringData JPA的项目中工作。
In this course you will learn about JPA, ORM different concepts about them. Then you will learn about how to use different concepts in real world project. Later you will learn about Entity, Entity Manager, Query, Criteria, Persistence Context, Persistence Unit, Transaction, Lazy loading, Relationships, SpringData JPA. Finally you will learn to use JPA without Springboot and JPA with Springboot by doing two real world projects.You will about real world uses of SpringData JPA findBy, countBy, existsBy, deleteBy queries.Following is the list of topics that you will learn in this course:Introduction to JPA Overview of Java Persistence API (JPA) Evolution from JPA 1 to JPA 2 Key features and benefits Entity Basics Creating JPA entities Entity lifecycle and states Annotations (@Entity, @Id, @GeneratedValue, etc.) Embeddable and embedded objects Mapping Entities Mapping entity attributes One-to-One, One-to-Many, and Many-to-One relationships Many-to-Many relationships Mapping inheritance hierarchies (Single Table, Joined, and Table per Class strategies) JPQL (Java Persistence Query Language) Overview of JPQL Querying entities with JPQL Named queries JPQL functions and aggregation Criteria API Introduction to Criteria API Building type-safe queries Predicate, CriteriaQuery, and CriteriaBuilder Transactions and Persistence Context Managing transactions in JPA Entity Manager and Persistence Context Transaction demarcation (declarative and programmatic) Advanced Mapping Techniques Embedded objects and collections Lazy and eager loading strategies Optimistic and pessimistic locking Custom converters and mappings Performance Tuning and Best Practices Fetch strategies and batching Caching strategies (1st and 2nd level cache) Query optimization Best practices for efficient data access Integration with Java EE and Spring Using JPA in Java EE applications Spring Data JPA integration Transaction management with JTA and Spring Testing and Debugging JPA Applications Unit testing JPA entities and queries Debugging common JPA issues Integration testing with embedded databases Migration and Upgrading Migrating from JPA 1 to JPA 2 Upgrading JPA providers Handling version-specific issues Future of JPA Trends and advancements in ORM frameworks JPA vs. other ORM solutions Considerations for modern application development.After this course you will become pro level developer who will be very confident to work in any project which uses JPA or SpringData JPA.