OUR

Courses

Previous knowledge

  • Kenntisse Java Programmierung,
    Grundlegende DB Kenntnisse

Anhand einer Beispielanwendung werden Sie auf praktische Weise in die Welt von Hibernate / Jakarta Persistence (JPA) eintauchen und Erfahrungen sammeln.

Sie werden lernen, wie man Objekt-Relation-Mapping verwendet, wie man einen Entity Manager nutzt, Queries aufbaut und JPA Features konfiguriert. Es werden verschiedene Anbieter von JPA Implementierungen vorgestellt u.a. Hibernate.

Our experienced trainers will program with you step by step using a sample application of your choice.

Our trainers always give you the opportunity to influence the content of the training and are happy to bring examples that would help you best for your specific situation in your company.

Einführung in JPA mit Spring

  • Konfiguration DB-Connection, Connection Pool
  • EntityManager
  • Zustände einer Entity
  • Lifecycle Methoden

Datenbankmapping

  • Mapping auf Tabellen mittels Annotations
  • Abbildung von Primärschlüsseln und Fremdschlüsselbeziehungen (1:1, 1:n, m:n)
  • Komplexe Collection Mappings

Transaktionen & Locking Strategien

  • Deklarative und programmatische Transaktionen mit Spring
  • Pessimistisches Locking
  • Optimistisches Locking

Fortgeschrittenes Mapping

  • Mapping mittels @SqlResultSetMapping
  • Mapping mittels DTO Konstruktoren und JPA-QL
  • Spring Projektionen
  • Vererbung bei JPA Entities

Queries in JPA

  • JPA QL
  • Criteria API
  • Query Optimierung mittels fetch joins und Entity Graphen