964 opleidingen: ICT

Ethical Hacking

  • opleiding door NHA Afstandsonderwijs
  • Online

UX Designer

  • opleiding door NHA Afstandsonderwijs
  • Online
ABIS

JPA with Spring Boot

  • door ABIS
Leuven en Online
2.487

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.

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

  • 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

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

Delivered as a live, interactive training: available in-person or online, or in a hybrid format. 
Training can be implemented in English, Dutch, or French.
If interested in organising this training internally, get in touch with us; we can even customise it to meet your specific needs.

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.

Leuven € 2.487(Incl.BTW) Inschrijven

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