I need help understanding the persistence context in JPA
First of all, thank you for taking the time to read this and help me, i appreciate it a lot. I am currently learning both JPA and Hibernate fundamentals, trying to learn and understand the basics from scratch so that i can later understand bigger concepts. To be more specific, right now i’m focused on entity states, EntityManger operations and the Persistence Context. While i was playing around these topics with some dummy code examples, several doubts began to arrive to my mind and i would appreciate if someone was able to clear them and explain the correct behavior.
Is there a way to view Spring Data Jpa’s Execution query before executing?
I am currently working on Simple Bulletin project and new to Hibernate/JPA/Spring data JPA.
Spring data jpa – Finding Child List by parent’s Id from Child Entity
I want to find the list of Child using parent’s id using spring data jpa.
I know there are two ways to retrieve data from spring data jpa, which is
using