Opleiding: JPA with Spring Boot

During this training, we will learn how to use the Spring Boot Framework for connection to databases using JPA (Java Persistence Framework). In this three-day ABIS course, the participant will understand what features Spring Boot adds to standard JPA to simplify DB interaction.

JPA is one of Java's persistence frameworks in order to access relational data in an effective way. It offers a complete object-relational mapping solution to this end.

Objectives

In this course you will learn how to:

  • use JPA repositories
  • map Java model classes on RDBMS tables
  • make DB interactions more efficient while using JPA
  • use transaction handling

Intended for

Architects, designers and programmers who are interested in object-relational mapping, using Spring and JPA.

Background

Knowledge of Java programming (see course Java programming), Spring fundamentals (see course Spring fundamentals) and relational databases (see course SQL and relational databases fundamentals) is required.

Main topics

  • Introduction to ORM and JPA
    • Persisting objects • O/R mapping (ORM) • Features of persistence mechanisms • (Spring Boot) JPA
  • Configuration
    • Configuring data sources • Simplifications from Spring Boot • Extra configuration options
  • Basic O/R Mapping and JPA repositories
    • Mapping concepts • Class to table mapping • Object identity • Property mapping
    • JPA repositories • Repository interfaces and Query methods • Spring Data JUnit testing
  • Mapping Associations
    • Value types • One class for two tables
    • Association mapping : one-to-one, many-to-one, one-to-many, many-to-many
    • Cascade and fetching strategies
  • Querying
    • @Query • JPQL (JPA Query Language) • Named and native queries
    • Changing the "select" object • Using DTOs and mappers
  • Transactions and Exception Handling
    • Exception Handling • Modifying queries
    • Transaction definitions • Declarative and programmatic transactions
  • Advanced Topics
    • Mapping collections • Hierarchy mapping • Advanced fetching strategies • Caching

Training method

Lecture and hands-on exercises. The participants will work with Java applications accessing H2 and Oracle databases.

Certificate

At the end of the session, the participant receives a 'Certificate of Completion'.

Duration

3 days.

Meer...
€2.055
Vrij van BTW
Aangeboden door
ABIS
Onderwerp
Niveau
Looptijd
3 dagen
Taal
en
Type product
cursus
Lesvorm
Klassikaal
Aantal deelnemers
Min: 3
Max: 12
Tijdstip
Overdag
Keurmerken aanbieder
CRKBO en BTW-vrijstelling