Skip to main content

r/learnjava

members
online


Experience a cybersecurity event built on hands-on labs — not slide decks. Threat isolation, ransomware demos, real skills. Zero Trust World • Orlando • March 4–6, 2026 Get $200 off with code ZTWREDDIT26.
Image Experience a cybersecurity event built on hands-on labs — not slide decks. Threat isolation, ransomware demos, real skills. Zero Trust World • Orlando • March 4–6, 2026 Get $200 off with code ZTWREDDIT26.



JPA/Hibernate book recommendation JPA/Hibernate book recommendation

Hi, I'm a fullstack (Spring+Angular) developer with 1.5 years of experience. When I started working with Hibernate, I learnt the basics that let me complete daily tasks. However, lately I've been stumbling across more and more specific topics, like named entity graphs. It also turned out that for all that time I've been coding with spring.jpa.open-in-view set to on by default and I'm not entirely sure why my backend breaks down completely when I turn this off. I concluded I definitely should read some comprehensive handbook to feel more comfortable writing backends. Hence, here are my questions regarding the "Java Persistence with Hibernate" book that seems fitting for me:

  1. In the table of contents, I see there is a section about fetch plans. Does it cover named entity graphs?

  2. I know this book is based on JPA 2.1 and Hibernate 5. Is this recent enough to be worth studying, while working with Hibernate 6 and 7 daily?

  3. Do you maybe know of a better book to read in my situation?