Course code: JJPA« Back

Java Persistence API (JPA) and Hibernate

This course is intended for Java developers who want to learn the basics as well as advanced techniques persistence of Java objects to relational databases using the popular ORM tool Hibernate and Java Persistence API. Gradually, you learn how to work with Object Relational Mapping, search data, stored procedure calls, data caching, and show you some techniques to improve application performance. Through practical examples explain how to use JPA and Hibernate in Java SE, Java EE and that the application created using the Spring Framework. Course replaced D77746 - Java EE 6/7: Develop Database Applications with JPA

This course has been removed from our portfolio
This section contains overview of retired courses which don’t belong to GOPAS course offer any more or were replaced by new course versions.
For more information about possibility to buy retired courses contact our customer services department ( or business department (

AffiliateDurationCatalogue priceHandbook priceITB
Praha4 28 800 CZK included in course price 40
Brno4 28 800 CZK included in course price 40
Bratislava4 1 180,00 EUR included in course price 40

User intensity level

What we teach you:

  • We will teach you how to define the mapping Java objects to relational databases using Java annotation and XML
  • How to search, insert, modify, and delete objects using the Java Persistence Query Language HQL and languages and how to use stored procedures
  • How to work with local and distributed JTA transactions
  • How to use the Object second-level cache and Query caching to improve application performance
  • How to use Hibernate as the JPA provider
  • How to configure logging, automatic creation of the database schema and generate Java model from an existing database
  • How to use Entity graphs
  • How to integrate Hibernate Java Spring applications

Who the course is for:

  • This course is intended for Java developers who want to learn Java Persistence API (JPA) and Hibernate

Required skills:

  • Fundamentals of OOP
  • Knowledge of Java and JDBC
  • Basic knowledge of SQL and relational databases

Teaching methods:

  • Professional explanation with practical samples and examples.

Teaching materials:

  • Powerpoint handouts and module printouts.

Course syllabus:

Introduction to persistence in Java

  • Java Database Connectivity
  • Connection Pool and Data Source

The issue ORM

  • Object Model and Relational Model
  • Mapping

Hibernate as an ORM tool

  • Introduction to Hibernate
  • Mapping metadata, XML and Java Annotations
  • Simple mapping object database
  • Hibernate configuration
  • Handling over the object, crud

Concept mapping

  • Mapping associations between objects One-To-Many, One-To-One, Many-To-Many
  • Link table and the embedded objects
  • Mapping collections
  • Kak?dovanie operations
  • Primary keys


  • JPA is the Java standard, Entity, Entity Manager Entity Manager Factory, Persistence Unit and Persistence Context
  • Hibernate as the JPA provider
  • Query language, Parametric query, named query, native SQL query, Criteria Query, Query DSL
  • Joins and Lazy Fetching Batch Fetching
  • N + 1 select problem
  • Mapping inheritance and polymorphic queries


  • Integrating Hibernate and JPA into Spring applications
  • Spring data

More advanced topics

  • Local transactions and JTA
  • Types of increasing efficiency and testing
  • Cache existing second
  • Query cache
  • Optimistic Locking and entities verzionovanie
  • Entity charts
  • Entity callback
  • Data validation

Previous courses

no preceding courses

Next courses

no following course
Tištěné prezentace probírané látky

included in course price
The prices are without VAT.