Java Persistence API: Executing Queries & Managing the Entity Lifecycle
Java
| Expert
- 19 videos | 1h 32m 2s
- Includes Assessment
- Earns a Badge
In this course, you'll explore a variety of ways to execute queries using JPA. You'll run native queries, queries using JPQL, and queries using the Criteria API, which helps avoid syntax errors in your query specification. Next, you'll examine how you can have entity-specific callback methods that can be invoked at different stages in the entity's lifecycle. When you are done with this course, you'll be able to perform complex queries on your database tables and manage your entity's lifecycle in a very granular manner.
WHAT YOU WILL LEARN
-
Discover the key concepts covered in this courseExecute native queriesExecute jpql queriesConfigure dynamic jpql queries using named and positional parametersReference foreign keys within jpql queriesPerform join operations using jpql queriesRetrieve multiple fields using jpql queriesConstruct special objects to hold multiple fields within jpql queriesExecute update and delete jpql queriesDefine and use named queries
-
Summarize the basic structure of the criteria apiRun basic criteria queriesRun advanced criteria queriesHook into the entity lifecycle before and after entity persistenceHook into the entity lifecycle after loadHook into the entity lifecycle before and after entity loadHook into the entity lifecycle before and after entity removalConfigure an entity listener object for callbacksSummarize the key concepts covered in this course
IN THIS COURSE
-
2m 4s
-
8m 28sLearn how to execute queries native to the database. FREE ACCESS
-
7m 41sIn this video, you will learn how to execute JPQL queries. FREE ACCESS
-
6m 33sIn this video, you will learn how to configure dynamic JPQL queries using named and positional parameters. FREE ACCESS
-
4m 47sLearn how to reference foreign keys in JPQL queries. FREE ACCESS
-
5m 42sIn this video, you will learn how to perform join operations using JPQL queries. FREE ACCESS
-
7mDuring this video, you will learn how to retrieve multiple fields using JPQL queries. FREE ACCESS
-
2m 48sIn this video, you will learn how to construct special objects to hold multiple fields within JPQL queries. FREE ACCESS
-
3m 53sIn this video, find out how to execute update and delete SQL queries. FREE ACCESS
-
5m 55sIn this video, you will learn how to define and use named queries. FREE ACCESS
-
5m 39sDuring this video, you will learn how to summarize the basic structure of the Criteria API. FREE ACCESS
-
4m 16sLearn how to run basic queries using criteria. FREE ACCESS
-
4m 45sIn this video, you will learn how to run criteria queries with advanced features. FREE ACCESS
-
6m 21sIn this video, learn how to hook into the entity lifecycle before and after entity persistence. FREE ACCESS
-
4m 30sDuring this video, you will learn how to hook into the entity lifecycle after it is loaded. FREE ACCESS
-
3m 39sDuring this video, you will learn how to hook into the entity lifecycle before and after entity loading. FREE ACCESS
-
2m 45sIn this video, learn how to hook into the entity lifecycle before and after entity removal. FREE ACCESS
-
3m 41sIn this video, you will learn how to configure an entity listener object for callbacks. FREE ACCESS
-
1m 36s
EARN A DIGITAL BADGE WHEN YOU COMPLETE THIS COURSE
Skillsoft is providing you the opportunity to earn a digital badge upon successful completion on some of our courses, which can be shared on any social network or business platform.
Digital badges are yours to keep, forever.