I'm having some confusion on how some things work with Hibernate and JPA. I'm new to both so I don't know if it's just one of them or a combination. Does anyone have any suggestions on a good article or book that might help me out?
I'm having trouble figuring out how the saves/deletes work with @ManyToOne's and how the CascadeType impacts that, as well as the FetchType - should I always use lazy or why wouldn't I use lazy all the time?
I know that's pretty vague, but the manual and the book I have didn't seem to go into any deep detail on how that works (or I am looking in the wrong place).
|