Jakarta Persistence (JPA)

所在平台: Coursera

课程主页: https://www.coursera.org/learn/java-database-connectivity-jakarta-persistence

课程评论:没有评论

第一个写评论        关注课程

课程简介

课程名称:Jakarta Persistence (JPA) 课程概述:本课程通过多种实验室,带领学生探索Java对象域模型与关系数据库表之间的交互,逐渐成为Java应用程序数据库访问的标准方法。课程将展示如何使用元数据注解将域对象映射到数据库表,并将类属性映射到这些表中的列,以便进行CRUD操作。学生将使用多种查询策略从数据库中检索数据,并以最小的努力在其应用程序中使用这些数据。课程还将讨论这些元数据注解如何映射类之间的组合和继承关系,以及数据库模式。 课程大纲: 1. 部分:Java持久化架构 - 描述:使用Java持久化架构(JPA)与数据库交互,为持久单元定义持久化配置。通过各种注解定义JPA实体,并展示Java数据库连接(JDBC)的细节如何被抽象化。利用JPA EntityManager的API实现数据库的CRUD操作。 2. 部分:查询与生命周期 - 描述:实现JPA选择的各种查询技术,并理解托管bean的持久化生命周期的重要性,以及对于脱离实体的乐观锁定使用版本控制的必要性。 3. 部分:关系 - 描述:定义JPA实体之间的组成和继承关系,这些关系映射到数据库模式中的主键和外键关系。

课程大纲

Part: 1

Title: Java Persistence Architecture

Description:Interact with databases using Java Persistence Architecture (JPA), defining Persistence configurations for a Persistent Unit. Define JPA entities through various annotations and illustrate how the details of Java Database Connectivity (JDBC) are abstracted away. Implement database CRUD operations using the API of the JPA EntityManager.

Part: 2

Title:Queries and Lifecycle

Description:Implement various Query techniques that JPA options and understand the importance of the Persistence Lifecycle of a managed bean and the use of Versioning for Optomistic Locking for detached Entities

Part: 3

Title:Associations

Description:Define Compositional and Inheritance relationships between JPA entities that map to Primary Key Foreign Key relationships in a database schema

课程评论(0条)

课程详情

This course takes the student through a variety of labs exploring the interaction between Java Object Domain Models and Relational Database Tables, this is becoming the standard approach for database access in Java Applications. The course will illustrate how using meta data annotations, you can map domain objects to database tables, and class properties to columns in those tables for CRUD operations. The student will use numerous Query strategies to retrieve data from a database and consume the data in their applications with minimal effort. The course will talk about the how these meta data annotations can also map compositional and inheritance relationships between classes and a database schemas.

课程标签

0人关注该课程

主题相关的课程