Curso JPA - Building Database Driven Applications

  • Development

Curso JPA - Building Database Driven Applications

32h
Visão Geral

Este Curso JPA - Building Database Driven Applications, examina os detalhes da construção de aplicativos de banco de dados. Você aprenderá a usar a tecnologia padrão de mapeamento objeto-relacional Java, Java Persistence API.

 

Publico Alvo
  • Desenvolvedores
Materiais
Inglês/Português/Lab Pratico
Conteúdo Programatico
  • Overview of the Java Persistence API
  • Introducing the Auction Application

Java Persistence API Entities

  1. Describe the difference between objects and entities
  2. Describe the difference between persistent fields and properties
  3. Identify and use common Java Persistence API annotations, such as @Entity, @Id, @Table, and @Column

Understanding the Entity Manager

  1. Describe the relationship between an entity manager, a persistence context, and a persistence unit
  2. Describe the difference between a container-managed entity manager and an application-managed entity manager
  3. Describe the entity life cycle

Modeling Entity Relationships

  1. Examine association relationships in the data and object models
  2. Use relationship properties to define associations
  3. Implement one-to-one unidirectional associations
  4. Implement one-to-one bidirectional associations
  5. Implement many-to-one/one-to-many bidirectional associations
  6. Implement many-to-many bidirectional associations
  7. Implement many-to-many unidirectional associations
  8. Examine fetch and cascade mode settings

Entity Inheritance and Object-Relational Mapping

  1. Examine entity inheritance
  2. Examining object/relational inheritance hierarchy mapping strategies
  3. Inherit from an entity class
  4. Inherit using a mapped superclass
  5. Inherit from a non-entity class
  6. Examine inheritance mapping strategies
  7. Use an embeddable class

Persisting Enums and Collections

  1. Persist entities that contain enums with @Enumerated
  2. Persist entities that contain lists with @ElementCollection
  3. Persist entities that contain maps with @ElementCollection

Introduction to Querying

  1. Find an Entity by its primary key
  2. Understand basic Java Persistence API query language queries
  3. Understand native SQL queries
  4. Understand basic Criteria API queries

Using the Java Persistence API Query Language

  1. Examine the Java Persistence API query language
  2. Create and use the SELECT statement
  3. Create and use the UPDATE statement
  4. Create and use the DELETE statement

Using the Java Persistence API Criteria API

  1. Contrast queries that use the Criteria API with queries that use the Java Persistence query language
  2. Describe the metamodel object approach to querying
  3. Create Criteria API queries

Using the Java Persistence API in a Container

  1. Use the Java Persistence API from a servlet
  2. Use the Java Persistence API from a stateless session bean

Implementing Transactions and Locking

  1. Describe the transaction demarcation management
  2. Implement container-managed transactions (CMT)
  3. Interact programmatically with an ongoing CMT transaction
  4. Implement bean-managed transactions (BMT)
  5. Apply transactions to the Java Persistence API

Advanced Java Persistence API Concepts

  1. Specify composite primary keys
  2. Override mappings with the @AttributeOverride and @AssociationOverride annotations
  3. Understand entity listeners and callback methods
TENHO INTERESSE

Cursos Relacionados

Curso Python Programação Advanced

32 horas

Curso SAP ABAP S4hana Developer Foundation

32 horas

Curso Full Stack and React Essentials

32 Horas

Curso Node.js for JavaScript Developers

24 horas

Curso Elasticsearch for Developers

16H

Curso Elastic Stack Foundation

24 horas

Curso Apache Spark™ Foundation

8 Horas