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

"Absolutely fantastic training. Thoroughly enjoyed it thanks to our highly enthusiastic tutor.  It wouldn't be an understatement to say that it was the best professional training that I have ever received."

 

Customised Linux with Networking

Live Online -  February 2022

 

"The course content was very good. When needed, the Instructor was extending the content of the course with hints and tips to help us understand different topics that were covered in the course."

 

Kubernetes Administration Certification - GTLFK

Live Online June 2021

 

 

 

“The course was held at the highest possible standards, the instructor was excellent, well prepared, well informed, and clearly an SME. Top marks.”

 

Professional Cloud Service Manager - GTC13

Live Online December 2021

 

“Very engaging and practical course so hope to be able to put the learning into practice.”

 

Being Agile in Business - GTBAB

Live Online September 2021

 

“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 Administration

30th Jan - Feb 2nd 

13th Feb - 16th Feb

27th Feb -2nd March
 

Live Online

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

LPIC-1 PART 1

31st Jan - 3rd Feb

14th - 17th Feb 2023
 

 Live Online

This Linux certification training course teaches in-depth skills in the basics of Linux Administration.
 

Learn More

PROFESSIONAL CLOUD SERVICE MANAGER

tbc

 

Live Online

The Cloud Service Manager course enables participants to design and deliver cloud services. Exam prep on day 3.

Learn More

 INTRO TO PYTHON 3

31st Jan - Feb 2nd 2023

7th  -  9th March 2023

 

 

Live Online        

A comprehensive introduction to the core syntax and functions provided by Python, including coverage of its object-oriented and functional programming features.

Learn More

Newsletter

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

Subscribe to our Newsletter