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

We are sorry, there is currently no availability on this course.

contact us for more information

Ways to Attend this Course

  • In the Classroom
  • Private Training

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
Book Now
 
Participant number 1 €0.00

Book Now

Required fields

 

 

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

“Very interesting course from an excellent instructor. Highly technical and well delivered”

 

Introduction to Modern Security - GTJ50

Dec '17

“Super experience. The instructor spoke with great knowledge and experience. The materials will be invaluable in the real world”

 

Professional Cloud Service Manager Certification training- GTC13

Dec '17

“Very useful course, making complex topics more approachable and the instructor was very good at getting concepts across and engaging with delegates and our specific needs”

 

Optimising Java - GTJ47

Dec '17

“This was an excellent course and I found it very interesting and enjoyable.  The instructor was a font of knowledge on all aspects of Big Data and Analytics and was enthusiastic about sharing his knowledge”

 

Applied Data Science and Big Data Analytics - GTBD7

Nov '17

“The instructor was fantastic at explaining lessons with applicable work type examples.  He was enthusiastic with what he was teaching which made learning the course more enjoyable”

 

Linux Essentials Certification - GTU2

Oct '17

"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

Optimising Java

16-17 April

Cork - limited places

Written & presented by Ben Evans: adapted from his current O’Reilly book Optimizing Java.

Learn More

Blockchain

April & May dates

Dublin, Cork and Galway

Courses designed, written & presented by Fintech expert, incorporating Ethereum & Corda

Learn More

Linux Certification

April, May and June dates

Cork

Linux Professional Institute and CompTIA accredited courses: Linux Essentials, LPIC-1 and LPIC-2

Learn More

Service Manager

15-17 May

Dublin

Professional Cloud Service Manager Certification training - ITIL in the Cloud. Our best-selling cloud course

Learn More

Newsletter

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

Subscribe to our Newsletter