-->
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: referencing another object without sefining a relationship?
PostPosted: Wed Dec 09, 2009 4:18 am 
Beginner
Beginner

Joined: Wed Mar 19, 2008 12:10 am
Posts: 36
lets say i have a Car object that has a private variable Owner owner and there are no annotation mappings set for that variable.

if i retrieve an owner object from the db and then set the Car object's owner variable to it, then persist the Car object, will it hold a reference to that row in the owners table? or do i have to have some kind of association annotation?


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.