Java Persistence API: Executing Queries & Managing the Entity Lifecycle
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 entitys lifecycle. When you are done with this course, you’ll be able to perform complex queries on your database tables and manage your entitys lifecycle in a very granular manner.