Save data with the Java Persistence API

Abstract

An object-oriented application development on the one and the storage in a relational data-base on the other side: It's a challenge to harmonize both. With the Java Persistence API (JPA) there is a standard available that bridges that gap: The developer persists domain-specific Java objects in the data-base; JPA takes care of the necessary mapping to the data-base tables (object/relational mapping).

Also existing data-base schemas, which can or should not be altered, can be utilized with JPA for modern Java-applications – and that for Java EE as well as for Java SE.

Goal

The participants are able to apply JPA to their own Java-applications. Beside theoretical parts, practical exercises are an essential part and deepen the learning results.

Participants/prerequisites

The workshop addresses experienced Java developers and architects. Knowledge on databases are advantageous, knowledge on SQL likewise, but not required. Optionally the training can be amended by a short introduction on relational data-bases and SQL.

Agenda

  • Introduction on the basis of a example application
  • Basic JPA annotations
  • Entity-Manager and entity life-cycle
  • Object/relational mapping (ORM)
  • Tabular structure and integrity conditions
  • Inheritance queries with JPQL (Java Persistence Query Language)

Training dates

We currently have not set a date for this training session. Please contact us if you are interested. We would be glad to hold a training session at your company. Contact us.


Contact

André Ufer

Phone: +49 231 9860-606

E-mail: