From the course: Java Persistence API (JPA): 2 Inheritance and Querying

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Overview of persistence providers

Overview of persistence providers

From the course: Java Persistence API (JPA): 2 Inheritance and Querying

Start my 1-month free trial

Overview of persistence providers

- [Instructor] Let's learn about persistence providers and the more popular ones on the market. Persistence is a partnership between the application and persistence provider. As we saw in part one of the course, EntityManagers are configured to be able to persist or manage specific types of objects, read and write to a given database, and be implemented by a particular persistence provider. The persistence provider supplies the backing implementation engine for the entire Java Persistence API, from the EntityManager through to the implementation of the query classes and SQL generation. When using a particular persistence provider, it's important to know the features and what it supports from the standard because the implementation of the standard may differ slightly across providers. For example, does the persistence provider allow you to store duplicates? What does the provider support in terms of laziness? If the @DiscrimanatorValue annotation is not used, what is the provider…

Contents