Search our courses
Training

The Java Persistence API (JPA) is a standard object-relational mapping (ORM) technology for Java Enterprise Edition applications. This Java Persistence API 2 Development training course takes a detailed look at JPA 2, describing how to map complex relational structures and how to use the Java Persistence Query Language (JPQL) effectively.

What you will learn

  •     Understanding persistence in Java EE
  •     Mapping classes to tables
  •     Using JPA to query entities
  •     Using advanced query techniques
  •     Managing entity lifetimes
  •     Mapping associations and collections
  •     Mapping inheritance hierarchies
  •     Using the Criteria API

Java Persistence API 2 Development

Price €0.00

Course Code

GTJ37

Duration

3 Days

Course Fee

POA

Accreditation

N/A

Target Audience

  • Java developers wishing to use JPA to access relational data store

Attendee Requirements

  •     At least 6 months Java programming experience
  •     Familiarity with relational databases and SQL

Expand all

Course Description

The Java Persistence API (JPA) is a standard object-relational mapping (ORM) technology for Java Enterprise Edition applications. This Java Persistence API 2 Development training course takes a detailed look at JPA 2, describing how to map complex relational structures and how to use the Java Persistence Query Language (JPQL) effectively.

What you will learn

  •     Understanding persistence in Java EE
  •     Mapping classes to tables
  •     Using JPA to query entities
  •     Using advanced query techniques
  •     Managing entity lifetimes
  •     Mapping associations and collections
  •     Mapping inheritance hierarchies
  •     Using the Criteria API
Course Outline

Persistence in Java EE

  •     Entity beans
  •     EntityManager and Persistence Units
  •     Mapping entity classes to relational databases
  •     Providing metadata via annotations and XML
  •     Using the Java Persistence API
  •     Summary of JPA 2.0 features

JPA Queries

  •     Overview of Java Persistence Query Language (JPQL)
  •     Lazy and eager Loading
  •     Queries
  •     Parameters
  •     Paging and scrolling
  •     Projections
  •     Aggregates

Going Further with JPA Queries

  •     Queries across relationships (inner joins, outer joins, fetch joins)
  •     Batch operations
  •     Bulk updates
  •     Named queries
  •     Native queries
  •     Primary key generation

Using the Criteria API

  •     Overview of the Criteria API
  •     Building Criteria API queries
  •     Strongly typed query definitions

Working with Persistent Objects

  •     Entity lifecycle
  •     Entity identity
  •     Transient, persistent, and detached states
  •     Persistent object updates

Mapping Collections and Associations

  •     Fetching strategies
  •     Many-to-one
  •     Bidirectional many-to-one
  •     One-to-one
  •     Bidirectional one-to-one
  •     Many-to-many
  •     Bidirectional many-to-many
  •     Components
  •     Embedded objects
  •     Cascading

Mapping Inheritance

  •     Overview
  •     Inheritance mapping strategies
  •     Table per concrete class
  •     Table per subclass
  •     Table per hierarchy
  •     Unions
  •     Polymorphism

Transaction Management

  •     Transaction configuration
  •     Transaction API
  •     Transaction propagation

Locking and Versioning

  •     Optimistic locking and versioning
  •     Pessimistic locking
Learning Path

There are a number of options. Please Contact Us for further details.

Ways to Attend
  • Attend a public course, check our schedule
  • Private onsite Team training also available

Technical ICT learning & mentoring services

Private Team Training

Our instructors are specialist consultants with vast real world experience and expertise allowing them to design and deliver client-focused courses for your organisation.

Learn more about our Private Team Training

What Our Clients Say

"For a senior technical person, the best of this course is setting a structured and methodical approach for evaluation techniques we already use. It would be also very beneficial to senior managers (100+ reports). There is a huge hype on Gen AI at the moment, and this course will help them see the potential, current limitations and pitfalls of this technology".

 

Critical Thinking with AI for tech professionals

In-person course October '25

 


“It was very positive. This course was 4 days but covered a semester worth of work if it was done in college. The labs were relevant and delegates were provided the lab/coursebook for further study and practice after the course finished. GuruTeam's course was excellent and provides a deeper understanding of the architecture and how it all works. The hands-on aspect was very helpful as it helped solidify the concepts as I went along."

 

Kubernetes Administration Certification - GTLFK

Live Online September 2024

 

 

 

“The Instructor was very knowledgeable, laid back and very approachable during the course. The environment setup was second to none.  Very easy to jump in and follow along with minimal pre-req setup."

Kubernetes Administration Certification - GTLFK

Onsite May 2024

 

“The experience was complete for me. I like how the training was sequenced - the slides organization, the examples and explanations and then the exercises. Time for exercises and support by the Instructor was great plus answering the questions and going out for answers and coming back with examples as brilliant. I loved how much I refreshed and how I learned and got inspired to improve stuff at work.”

 

Docker - GTDK1

Live Online December 2024

 

“Great instructor, who encouraged active participation. The breakout groups and exercises kept the group engaged and the content relevant to our own products”.

 

Site Reliability Engineering Foundation - GTDSRE

Live Online January 2022

 

 

 

"Intelligence is the ability to avoid doing work, yet
getting the work done"

Linus Torvalds, creator of Linux and GIT

Technical ICT learning & mentoring services

About GuruTeam

GuruTeam is a high-level ICT Learning, Mentoring and Consultancy services company. We specialise in delivering instructor-led on and off-site training in Blockchain, Linux, Cloud, Big Data, DevOps, Kubernetes, Agile, Software & Web Development technologies. View our Testimonials

Download our eBrochure
Our Accreditation Partners
  •  
  •  
  •  

 

Upcoming Courses

Kubernetes Admin

Dates to be confirmed

 Live Online
 GMT +01:00  09:30 - 17:00 hrs

This Kubernetes Administration
Certification training course is
suitable for anyone who wants
to learn  the skills necessary to build and administer a Kubernetes cluster.

 

LEARN MORE

RUST PROGRAMMING INTRODUCTION

Dates to be confirmed

 Live Online
 GMT +01:00  09:30 - 17:00 hrs

This Rust Programming Introduction training course will help you understand what Rust applications look like, how to write Rust applications properly, and how to get the most out of the language and its libraries.
 

Learn More

NEW FAST TRACK PYTHON SERIES

Dates to be confirmed

Live Online
GMT +01.00  09:30 - 17:00 hrs

Hit the ground running.....
GuruTeam’s new Python Fast Track series Instructor-led live online training
designed & delivered by industry experts.

Python Fast Track I Comprehensive
Python Fast Track II Expert
Python Fast Track III for Data Science

 

 

 

Learn More

GO PROGRAMMING INTRODUCTION

 Dates to be confirmed
  

Live Online
GMT +01:00  09:30 - 17:00 hrs

This Go Programming Introduction training course will help you understand how Go works, and immediately be more productive. If you are building a team using Go, this will be a great opportunity to get your team on the same page and speaking the same language.

Learn More

Newsletter

Stay up to date, receive updates on scheduled dates, new courses, offers, and events.

Subscribe to our Newsletter