Special offers now — see discounted courses.
day
:
hour
:
min
:
sec
See special offers
Java Persistence API (JPA): 2 Inheritance and Querying

Java Persistence API (JPA): 2 Inheritance and Querying

1h 50mIntermediate2018-09-25

Authors

Kesha Williams

Kesha Williams

Software Engineering Manager, Speaker, Tech Blogger

Course details

The Java Persistence API (JPA) is the standard for mapping Java objects to relational databases. In this second course of the JPA series, Kesha Williams discusses inheritance mapping strategies, Java Persistence Query Language (JPQL), the Criteria API, and persistence providers. She explains how inheritance functions when working with mappings, classes, superclasses, and tables. She demonstrates how to create queries, use native queries, and query using streams. Then, she shows how to create query relationships using joins. Additionally, Kesha compares persistence provider options, and shows how to switch between providers.
Learning objectives
Inheriting entities
Mapping a superclass
Querying through JPA
Defining query parameters
Creating a compile-time named query
Using native queries
Creating stored procedures
Using the Criteria API
Refining query results
Switching between persistence providers

Skills covered

JPAJava EEJavaScript FrameworksAPIsJavaOracleWeb DevelopmentSoftware DevelopmentDeep Dive (X:Y)

Concepts

0. Introduction

  • 01 - Use JPA for inheritance and querying
  • 02 - What you should know
  • 03 - Development environment setup
  • 04 - Project application introduction
  • 05 - Project application in action

1. Inheritance Mapping Strategies

  • 06 - Entity inheritance strategies overview
  • 07 - Mapped superclass
  • 08 - Mapped superclass - Demo
  • 09 - Single table
  • 10 - Table per class
  • 11 - Joined table

2. Java Persistence Query Language (JPQL)

  • 12 - What is JPQL
  • 13 - Create simple queries with JPQL syntax
  • 14 - Create complex queries with setParameter
  • 15 - Create compile-time named queries
  • 16 - Create native queries
  • 17 - Create stored procedures
  • 18 - Query using streams

3. Criteria API

  • 19 - What is the Criteria API
  • 20 - Create queries with Criteria API
  • 21 - Query relationships using joins
  • 22 - Restrict criteria query results

4. Persistence Providers

  • 23 - Overview of persistence providers
  • 24 - Persistence provider comparison
  • 25 - Change providers

Conclusion

  • 26 - Next steps

Related courses

Related learn paths

About us

LyndaKade is a leading learning platform that helps people learn business, software, technology, and creative skills to achieve personal and professional goals.

Phone numberAparat ChannelTelegram SupportTelegram ChannelInstagram Page

All rights to this site belong to LyndaKade.

Terms of Service|Privacy Policy

نماد الکترونیک enamad در صورت اتصال با آی‌پی داخل کشور، نمایش داده خواهد شد.
logo-samandehi - لوگو ساماندهی
zarinpal
zibal