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

11th - 14th March 2024

26th - 29th March 2024

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

RUST

11th - 14th March 2024

26th - 29th March 2024

 Live Online

This 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

Introduction to Python 3 

19th - 21st March 2024

9th - 11th April 2024

7th - 9th May 2024

   4th - 6th June 2024

 

Live Online

This Introduction to Python 3 training course is designed for anyone who needs to learn how to write programs in Python or support/modify existing programs.

 

Learn More

 GO LANG TRAINING

11th - 14th March 2024

26th - 29th March 2024

 

Live Online        

 

This Go language programming 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. Innovative lab exercises and code samples are provided to reinforce skills and quickly master the topics.

Learn More

Newsletter

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

Subscribe to our Newsletter