Master JPA: object-relational mapping, JPQL queries, and transaction management
JPA generalizes the POJO (Plain Old Java Object) model of object persistence with a set of interfaces and factories that are independent of the underlying provider by applying the Abstract Factory pattern. This allows you to choose Hibernate as your provider, for example, or switch to other providers without impacting the persistence layer code. JPA standardizes all persistence layer requirements: simple or complex mappings and JPQL language for object queries.
Is it for you ?
Java developers with project experience.
Prerequisites
Have a good command of Java CORE, JDBC, and SQL. Knowledge of Hibernate is also recommended.
What You'll Walk Away With
- ✓ Design a persistence architecture using JPA for Java applications
- ✓ Implement object-relational mapping including relationships, inheritance, and complex collections
- ✓ Write and optimize JPQL queries with joins and associations
- ✓ Manage local and distributed transactions to ensure data consistency
- ✓ Structure a persistent data model following JPA best practices
Training content
1 Technical Architecture
- Software Architecture
- JPA Technical Architecture
- Setting up the environment
2 Fundamentals of Persistent Object Mapping
- Concept of persistent classes
- Mappings on unidirectional relationships
- Mappings on bidirectional relationships
3 Mapping domain objects
- Mappings of aggregation relationships
- Mappings of inheritance relationships
- Mapping collections and complex object types
4 Performing queries with JPQL
- The JPQL language
- Associations and joins
- Preparing queries
5 Transaction management
- Introduction to different types of transactions
- In-depth look at distributed transaction mechanisms
📌 Practical information
Our training sessions are offered in Montreal or Quebec City, in person or in a virtual classroom. Dates and locations are specified when you select your session below. If you have any questions, check out our FAQ.