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

“I particularly liked the heavy hands on sessions that went on with the training. Other than that, really liked Mark's training style. His experience in the field really shines through.”

 

Docker - GTDK1

Feb ‘19

“Instructor's ability to demonstrate new features that are not part of the course help show his mastery as well as prepare us for changes in the technology. Great work.

 

Using Docker & Kubernetes in Production - GTK8SG

Oct ‘18


“This course was an excellent insight into the Cloud Service Management world and equips me with the tools to go back to my company and build upon it.”

 

Cloud Service Manager - GTC13

Jan ‘19

 


“The course was great. The instructor is true Kubernetes Ninja. Loved the hands on approach. Very happy with the course.”

 

Using Docker & Kubernetes in Production - GTK8SG

Oct ‘18

“Excellent instructor. You can tell he really understands the concepts he's presenting and is very passionate about his work. He answered every question we asked and presented the course in an interesting and involving manner.”

 

Spring Boot Development - GTIT40

Nov ‘18

"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

1 - 4 Apr - DUBLIN

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

CompTIA Network+ FastTrack

More dates coming soon

This fast-paced course teaches the essentials of networking and helps to prepare the student for the CompTIA Network+ certification.

Learn More

Applied Data Science with Python

More dates coming soon

Learn about the theoretical and practical aspects of using Python in the realm of Data Science, Business Analytics, and Data Logistics

Learn More

Introduction to Python 3

More dates coming soon

Python is a powerful and popular object-oriented programming/scripting language with many high quality libraries.

Learn More

Newsletter

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

Subscribe to our Newsletter