JPA
-
Spring Data
When an application requires interaction with a database, that often means implementing a considerable amount of boilerplate code which, over time, becomes difficult to maintain. Spring data eliminates boilerplate code and abstracts database…
-
Java Persistence API (JPA) ~ Part 2 ~ Entity Manager
The entity manager API is used to create and remove entity instances, find entities by their primary key and to query entities. JPA defines a persistence unit in the persistence.xml file which caters…
-
Java Persistence API (JPA) ~ Part 1 ~ The basics
What is persistence? Applications are designed to store and manipulate data in a remote datasource/database so that it can be retrieved, processed, transformed or analyzed at a later time. Persistence refers to the…