Deze pagina is niet beschikbaar in het Nederlands. Gelieve ons hiervoor te verontschuldigen.

JPA with Spring Boot

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. Spring Boot will help you making it even more efficient, by adding JPA repositories, and by simplifying the configuration.

The purpose of this course is to show the participant how a Java application can be mapped to a relational database schema with the use of Spring Boot and JPA.

Schedule

datumduurtaalplaatsprijs 
11 jun3Leuven 1965 EUR (excl. BTW)
11 jun3web based 1965 EUR (excl. BTW)
SESSIE-INFO EN INSCHRIJVEN

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 • JPA

  • Spring Boot JPA basics

Spring's JPA integration • Spring JPA Hello World

  • JPA Architecture and Configuration

JPA architecture • 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.

Duration

3 days.

Course leader

Sandy Schillebeeckx.

Reviews

trainer was well prepared. course and content was very useful. issue was with the vm being slow which slowed down the pace and killed the mojo.

 
  (, )

Cours très complet et bien donné mais 2 jours était trop peu.

 
  (, )

I learned some stuff but not as enough as I expected

 
  (, )

Super intéressant. J'ai suivi le deuxième jour et j'ai vraiment apprécié

 
  (, )

Ook interessant

Cursisten van deze training hebben ook volgende cursussen gevolgd:


SESSIE-INFO EN INSCHRIJVEN