-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: New to Hibernate and JPA.
PostPosted: Wed Apr 18, 2012 12:51 pm 
Newbie

Joined: Wed Apr 18, 2012 12:38 pm
Posts: 1
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).


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.