The Java Persistence API (JPA) of the Java Community Process is a standard for the object-relational mapping (ORM) of Java objects. JPA can be integrated into both Java EE applications with EJB3 and/or Spring as well as into any Java SE applications. As a result, it is possible to implement persistent objects with standardized interfaces portably. The open source project Hibernate was already widely used before the adoption of JPA and has made a name for itself as a very good OR mapping framework. It fully supports the JPA specification and adds useful non-standard features. Using practical examples and exercises, the participant will learn how to work with the Java Persistence API using Hibernate. Looking at the wider market reveals other JPA providers such as EclipseLink and OpenJPA.

  • Duration

    3  days
  • Goal

    • After the training, you will be able to implement Persistence with JPA and Hibernate
    • The training will provide the necessary basics using many exercises and examples
    • Learn a standard for Persistence with Java
    • Become more independent of proprietary frameworks
  • Target group

    Java developers looking for a quick introduction to the Java Persistence API and Hibernate

  • Contents


    • Object-relational mapping with Java
    • Introduction to the Java Persistence API
    • JPA provider (Hibernate, Eclipse and OpenJPA)

    Persistent classes

    • Portrayal of a domain object model with POJOs
    • Using EntityManagerFactory and EntityManager
    • CRUD for Create, Read, Update, and Delete
    • Application of detached objects
    • Primary keys and generators
    • DDL generation

    ORM (Object-Relational Mapping)

    • Simple mappings
    • Mapping associations (1:1, 1:n, n:m)
    • Unidirectional and bi-directional relationships
    • Mapping embedded components
    • Converter for user-defined data types
    • Portraying inheritance hierarchies


    • Setting up queries with JPAQL (Java Persistence API Query Language)
    • Grouping, aggregation, polymorphic queries
    • Type-safe queries and bulk updates with JPA Criteria API
    • Supporting stored procedures


    • Differences to the Java Persistence API
    • Mapping via annotations and XML files
    • HQL, Query By Criteria (QBC) and Query By Example (QBE)
    • Ehcache configuration

    Working with persistent objects

    • Performance optimization using lazy loading and eager fetching strategies
    • Cache API and use of first and second level cache
    • Life cycle of persistent objects
    • Transitive persistence and cascading behavior
    • Optimistic vs. pessimistic locking

    Integration into different architectures

    •  Java EE environments such as EJB, Spring
    • Use in Data Access Objects (DAO)
    • Use in Java SE environments
  • Requirements

    Advanced knowledge of Java programming, XML basics and SQL knowledge.

  • Our quality promise

Contact to our service center

DE+49 (0) 711 90363245

CH+41 (0) 584 595795

AT+43 (01) 33 2353160

FR+41 (0) 584 595454

EN+49 (0) 711 90363245

DA+49 (0) 711 90363245

email[email protected]

Early booking pays off

Book your training at least 3 or 6 months before the start of the course and take advantage of the flexible pricing.

> 6 months


> 3 months


0-3 months


Place Date Language Price
Virtual Classroom 23.10 - 25.10.2023 de  1.560,00
In-house training courses on request Inquiry
  •  Guaranteed to take place
  •   The course will definitely take place if you make a booking
  •   There are no free places left on this course. If you still book it, we will place you on the waiting list.
  • The course price is shown in the currency EUR. For orders from Switzerland, we convert the price into CHF and take into account the appropriate VAT rate. We are also happy to assist you with your order by telephone: CH +41 58 459 57 95 or DE +49 711 903 632 45.

Ausgezeichnet und geprüft

Erfahrungen & Bewertungen zu Trivadis Training Erfahrungen & Bewertungen zu Trivadis Training anzeigen
Back to overview
0
Trivadis, Bernd Rössler, Head of Training

Bernd Rössler

Solution Manager Trivadis Training

DE: +49 (0) 711 90363245
CH: +41 (0) 584 595795
AT: +43 (0) 133 2353160
FR: +41 (0) 584 595454
EN: +49 (0) 711 90363245
DA: +49 (0) 711 90363245

E-Mail: [email protected]

“I'll be glad to advise you on topics such as individual coaching, workshops, project support, and online training courses.”

Your Bernd Rössler

trivadis training satisfaction guarantee

Guarantee of quality

Following completion by the participants, every single training course is assessed at the levels

  • suitability of the training room,
  • suitability of the workplace,
  • functionality of the technical equipment, and
  • satisfaction throughout the entire course / seminar,

and recorded in our "TRIVALUATION" feedback system for quality assurance purposes. This enables us to consistently ensure the high quality and satisfaction of our valued customers. We really appreciate the overall rating of 9.3 from 10 points awarded by our many enthusiastic customers.


rivadis training success guarantee

Success guarantee

Trivadis guarantees the success of your training. Having completed the course / seminar, do you have any questions about the practical aspects? Would you like to repeat any of the exercises in the lab environment?

Our success guarantee allows you to repeat individual days, or even the entire training course, free of charge for up to 6 months after attending a training course. You bring with you the course materials from the previous training course.