©  Raj Malhotra 2019
Raj MalhotraRapid Java Persistence and Microserviceshttps://doi.org/10.1007/978-1-4842-4476-0_5

5. Java Persistence Without ORMs

Raj Malhotra1 
(1)
Faridabad, Haryana, India
 
We have so far taken a quick walkthrough of the Spring Data JPA, with mostly positive use cases. There are also a few downsides to use an ORM framework. With today’s growing demand for scaling applications, it becomes important to discuss such issues with ORMs. This chapter considers the performance-related problems of ORMs when applications grow to a scale beyond ordinary limits:
  • For each operation, the ORM framework has to manage the lifecycle of an entity, leading to extra overhead. As an example, if the entity is transient, persistent, or detached, Hibernate ...

Get Rapid Java Persistence and Microservices: Persistence Made Easy Using Java EE8, JPA and Spring now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.