-->
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: Refresh question
PostPosted: Thu Apr 05, 2007 2:05 pm 
Senior
Senior

Joined: Mon Jul 24, 2006 8:43 am
Posts: 160
Hi,
I have a 1:1 relectionship between a Person entity an Address entity.
I have no cascade options set on either side of the rel. The Person object is attatched but the Address object is not.

I refresh the Person entity and the observe that the SQL generated by hibernate reads both the Person and the Address.
Is this some sort of default cascade for refresh?

To add some confustion to this after the refresh, I checked to see which entites are attatched, The Person entity is (this makes sense) but even though the Address object appears to have been re read it is not attatched.

any ideas why not?
comments appreciated


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.